2018-04-09 19:19:29 +00:00
|
|
|
<nav id="categories" class="bd-categories">
|
|
|
|
{% for category in site.data.links.categories %}
|
|
|
|
{% assign category_id = category[0] %}
|
|
|
|
{% assign category_links = category[1] %}
|
|
|
|
{% assign category_link = site.data.links.by_id[category_id] %}
|
|
|
|
|
|
|
|
<div class="bd-category {% if category_id == current_category %}is-active{% endif %}">
|
|
|
|
<header class="bd-category-header">
|
|
|
|
<a class="bd-category-toggle">
|
|
|
|
<span class="icon">
|
|
|
|
<i class="fas fa-chevron-down"></i>
|
|
|
|
</span>
|
|
|
|
</a>
|
2018-04-11 11:54:56 +00:00
|
|
|
<a class="bd-category-name {% if category_id == current_link_id %}is-active{% endif %}" href="{{ site.url }}{{ category_link.path }}">
|
2018-04-09 19:19:29 +00:00
|
|
|
<strong>{{ category_link.name }}</strong>
|
|
|
|
</a>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<ul class="bd-category-list">
|
|
|
|
{% for link_id in category_links %}
|
|
|
|
{% assign link = site.data.links.by_id[link_id] %}
|
|
|
|
<li {% if link_id == current_link_id %}class="is-current"{% endif %}>
|
|
|
|
<a href="{{ site.url }}{{ link.path }}">
|
|
|
|
{{ link.name }}
|
2020-09-27 10:29:35 +00:00
|
|
|
{% if link.new %}
|
|
|
|
<span class="ml-1 tag bd-mini-tag is-primary">
|
|
|
|
New!
|
|
|
|
</span>
|
|
|
|
{% endif %}
|
2018-04-09 19:19:29 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</nav>
|
2018-04-13 23:21:03 +00:00
|
|
|
|
2018-04-18 16:00:00 +00:00
|
|
|
{% unless page.hide_fortyfour %}
|
|
|
|
{% include global/fortyfour.html %}
|
|
|
|
{% endunless %}
|
2021-01-03 14:31:36 +00:00
|
|
|
|
|
|
|
{% include global/side-sponsor.html %}
|