Mercurial > web-octave
annotate _includes/header.html @ 138:88f15c74aa24
Announce OctConf 2018 with alert-box.
* _includes/header.html: Add a closeable banner to each page.
* _includes/head.html: Include foundation.alert.js.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Mon, 22 Jan 2018 23:44:32 +0100 |
parents | 40babc87d1bc |
children | 78b9661d8a36 |
rev | line source |
---|---|
110
40babc87d1bc
Enable website accessabilty without Javascript.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
107
diff
changeset
|
1 <div class="no-js fixed contain-to-grid"> |
40babc87d1bc
Enable website accessabilty without Javascript.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
107
diff
changeset
|
2 <nav class="no-js top-bar" data-topbar role="navigation"> |
0
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
3 <ul class="title-area"> |
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
4 <li class="name"> |
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
5 <h1> |
94
e8fc61e077fc
Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
28
diff
changeset
|
6 <a href="{{ "/" | relative_url }}" style="height:100%"> |
107
a2fa1e57437e
Add alt attribute to img.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
96
diff
changeset
|
7 <img src="{{ "/img/octave-logo.svg" | relative_url }}" |
a2fa1e57437e
Add alt attribute to img.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
96
diff
changeset
|
8 style="width: 32px; height: auto" alt="GNU Octave logo"> |
0
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
9 {{ site.title }} |
14
bc698651c94a
add mobile menu link
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
5
diff
changeset
|
10 </a> |
0
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
11 </h1> |
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
12 </li> |
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
13 <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone --> |
14
bc698651c94a
add mobile menu link
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
5
diff
changeset
|
14 <li class="toggle-topbar menu-icon"><a href="#"><span></span></a></li> |
0
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
15 </ul> |
96
e7efa40deb17
Fix URLs, Images, Titles to be up with Alex original style.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
94
diff
changeset
|
16 |
0
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
17 <section class="top-bar-section"> |
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
18 <!-- Right Nav Section --> |
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
19 <ul class="right"> |
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
20 {% for page in site.pages %} |
5
e210b708b330
fill in site content
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
0
diff
changeset
|
21 {% if page.menu %} |
e210b708b330
fill in site content
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
0
diff
changeset
|
22 <li> |
94
e8fc61e077fc
Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
28
diff
changeset
|
23 <a href="{{ page.url | relative_url }}">{{ page.title }}</a> |
5
e210b708b330
fill in site content
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
0
diff
changeset
|
24 </li> |
0
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
25 {% endif %} |
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
26 {% endfor %} |
28
1138390dfe96
add top level link to docs
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
14
diff
changeset
|
27 <li> |
96
e7efa40deb17
Fix URLs, Images, Titles to be up with Alex original style.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
94
diff
changeset
|
28 <a href="{{site.docs_url}}">Docs</a> |
28
1138390dfe96
add top level link to docs
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
14
diff
changeset
|
29 </li> |
0
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
30 </ul> |
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
31 </section> |
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
32 </nav> |
94
e8fc61e077fc
Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
28
diff
changeset
|
33 </div> |
138
88f15c74aa24
Announce OctConf 2018 with alert-box.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
110
diff
changeset
|
34 |
88f15c74aa24
Announce OctConf 2018 with alert-box.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
110
diff
changeset
|
35 <div data-alert class="alert-box info radius" style="font-weight:bold; text-align:center;"> |
88f15c74aa24
Announce OctConf 2018 with alert-box.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
110
diff
changeset
|
36 Join us March 12-15 at CERN near Geneva Switzerland for |
88f15c74aa24
Announce OctConf 2018 with alert-box.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
110
diff
changeset
|
37 <a href="https://wiki.octave.org/OctConf_2018">OctConf 2018</a>. |
88f15c74aa24
Announce OctConf 2018 with alert-box.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
110
diff
changeset
|
38 <a href="#" class="close">×</a> |
88f15c74aa24
Announce OctConf 2018 with alert-box.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
110
diff
changeset
|
39 </div> |