2018-04-09 19:19:29 +00:00
|
|
|
<nav id="categories" class="bd-categories">
|
2021-01-27 23:30:42 +00:00
|
|
|
<div class="bd-categories-filter">
|
|
|
|
<input id="categoriesFilter" class="input is-small" type="text" name="" placeholder="Filter links">
|
|
|
|
<span class="bd-key">f</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% for category_id in site.data.links.categoryIds %}
|
|
|
|
{% assign category_links = site.data.links.categories[category_id] %}
|
2018-04-09 19:19:29 +00:00
|
|
|
{% assign category_link = site.data.links.by_id[category_id] %}
|
|
|
|
|
2021-01-27 23:30:42 +00:00
|
|
|
{% if category_id == 'overview' %}
|
|
|
|
<p class="bd-category-group">
|
2021-09-19 00:23:53 +00:00
|
|
|
Concepts
|
2021-01-27 23:30:42 +00:00
|
|
|
</p>
|
|
|
|
{% elsif category_id == 'columns' %}
|
|
|
|
<p class="bd-category-group">
|
2021-09-19 00:23:53 +00:00
|
|
|
Library
|
2021-01-27 23:30:42 +00:00
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<div class="bd-category {% if category_id == current_category %}is-current{% endif %}">
|
2018-04-09 19:19:29 +00:00
|
|
|
<header class="bd-category-header">
|
2021-01-27 23:30:42 +00:00
|
|
|
<a
|
|
|
|
class="
|
|
|
|
bd-category-name
|
|
|
|
{% if category_id == current_link_id %}is-active{% endif %}
|
|
|
|
"
|
|
|
|
href="{{ site.url }}{{ category_link.path }}"
|
|
|
|
data-name="{{ category_link.name }}"
|
|
|
|
>
|
|
|
|
<strong class="bd-name">{{ category_link.name }}</strong>
|
2018-04-09 19:19:29 +00:00
|
|
|
</a>
|
2021-01-27 23:30:42 +00:00
|
|
|
|
|
|
|
<button class="bd-category-toggle icon">
|
|
|
|
<i class="fas fa-chevron-down"></i>
|
|
|
|
</button>
|
2018-04-09 19:19:29 +00:00
|
|
|
</header>
|
|
|
|
|
|
|
|
<ul class="bd-category-list">
|
|
|
|
{% for link_id in category_links %}
|
|
|
|
{% assign link = site.data.links.by_id[link_id] %}
|
2021-01-27 23:30:42 +00:00
|
|
|
|
2018-04-09 19:19:29 +00:00
|
|
|
<li {% if link_id == current_link_id %}class="is-current"{% endif %}>
|
2021-01-27 23:30:42 +00:00
|
|
|
<a
|
|
|
|
href="{{ site.url }}{{ link.path }}"
|
|
|
|
data-name="{{ link.name }}"
|
|
|
|
>
|
|
|
|
<span class="bd-name">{{ link.name }}</span>
|
|
|
|
|
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 %}
|
2018-04-13 23:21:03 +00:00
|
|
|
|
2021-01-27 23:30:42 +00:00
|
|
|
<p
|
|
|
|
id="categoriesNoResults"
|
|
|
|
class="
|
|
|
|
bd-categories-no-results
|
|
|
|
has-background-primary-light
|
|
|
|
is-size-7
|
|
|
|
has-text-primary-dark
|
|
|
|
has-text-centered
|
|
|
|
p-3
|
|
|
|
">
|
|
|
|
There are no results.
|
|
|
|
<br>
|
|
|
|
<button class="button is-primary is-small">Reset search <span class="bd-key">esc</span></button>
|
|
|
|
</p>
|
|
|
|
</nav>
|