annotate _includes/navigation.html @ 95:a2c83f182127

*: update links
author Paper <paper@paper.us.eu.org>
date Mon, 30 Sep 2024 16:47:55 -0400
parents a143c3991472
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
ec24b7d30ce9 navigation: span -> div
Paper <paper@paper.us.eu.org>
parents: 78
diff changeset
11 </div>
78
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
12 </div>