Mercurial > web
annotate _includes/navigation.html @ 96:30f5ae07c0bb
posts: new blog post announcing new domain
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 02 Oct 2024 22:18:44 -0400 |
parents | a143c3991472 |
children |
rev | line source |
---|---|
78
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
1 <div class="navbar drop-shadow-box"> |
92
a143c3991472
navigation: fix navbar implementation
Paper <paper@paper.us.eu.org>
parents:
81
diff
changeset
|
2 <div class="navbar-group"> |
a143c3991472
navigation: fix navbar implementation
Paper <paper@paper.us.eu.org>
parents:
81
diff
changeset
|
3 {% for item in site.data.navigation %} |
78
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
4 <a href="{{ item.link }}" {% if page.url == item.link or page.url contains item.prefix %}class="navbar-item-active"{% else %}class="navbar-item"{% endif %}>{{ item.name }}</a> |
92
a143c3991472
navigation: fix navbar implementation
Paper <paper@paper.us.eu.org>
parents:
81
diff
changeset
|
5 {% endfor %} |
a143c3991472
navigation: fix navbar implementation
Paper <paper@paper.us.eu.org>
parents:
81
diff
changeset
|
6 </div> |
a143c3991472
navigation: fix navbar implementation
Paper <paper@paper.us.eu.org>
parents:
81
diff
changeset
|
7 <div class="navbar-group"> |
a143c3991472
navigation: fix navbar implementation
Paper <paper@paper.us.eu.org>
parents:
81
diff
changeset
|
8 {% for item in site.data.navigation-external %} |
a143c3991472
navigation: fix navbar implementation
Paper <paper@paper.us.eu.org>
parents:
81
diff
changeset
|
9 <a href="{{ item.link }}" class="navbar-item navbar-right">{{ item.name }}</a> |
a143c3991472
navigation: fix navbar implementation
Paper <paper@paper.us.eu.org>
parents:
81
diff
changeset
|
10 {% endfor %} |
80 | 11 </div> |
78
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
12 </div> |