decentralized-id.github.io/_layouts/home.html

63 lines
2.0 KiB
HTML
Raw Normal View History

2019-03-28 19:40:33 -04:00
---
layout: archive
---
2020-01-03 19:48:14 -05:00
<!-- <h2>Feature</h2>
2019-07-09 00:01:25 -04:00
2019-07-10 20:20:41 -04:00
{% include feature_row id="welcome" type="center" %}
2019-07-09 00:01:25 -04:00
2019-07-14 20:08:54 -04:00
{% include feature_row id="feature_row" %}
2020-01-03 19:48:14 -05:00
-->
2019-03-28 19:40:33 -04:00
{{ content }}
2023-06-06 01:12:39 -04:00
<h2 id="top">Categories</h2>
{% assign categories_max = 0 %}
{% for category in site.categories %}
{% if category[1].size > categories_max %}
{% assign categories_max = category[1].size %}
2019-07-11 15:06:40 -04:00
{% endif %}
{% endfor %}
2023-06-06 01:12:39 -04:00
<ul class="taxonomy__index">
{% for i in (1..categories_max) reversed %}
{% for category in site.categories %}
{% if category[1].size == i %}
<li>
<a href="/categories/#{{ category[0] | slugify }}">
<strong>{{ category[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
</a>
</li>
{% endif %}
{% endfor %}
{% endfor %}
</ul>
2023-04-14 00:32:31 -04:00
<h2>Tags Grouped by Section</h2>
2023-06-06 01:12:39 -04:00
<p>This system of navigation is part of an ongoing transition towards making this content, and its subject-matter, more accessible based upon the specific topic you are interested in.</p>
<h3>Sections</h3>
<strong class="taxonomy__index">{% for item in site.data.tagz %}<a href="#{{item[0]|downcase}}">{{item[0] | capitalize | replace: "_", "-" }}</a>{% endfor %}</strong>
2023-04-14 00:32:31 -04:00
{% for item in site.data.tagz %}
2023-06-06 01:12:39 -04:00
<h4 id="{{item[0] | downcase}}">{{ item[0] | upcase | replace: "_", "-" }}</h4><a href="#top" class="back-to-top"><strong>{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</strong></a>
2023-04-14 00:32:31 -04:00
2023-06-06 01:12:39 -04:00
{% assign tags_max = 0 %}
{% for tag in site.tags %}
{% if tag[1].size > tags_max %}
{% assign tags_max = tag[1].size %}
{% endif %}
{% endfor %}
<ul class="taxonomy__index">
2023-04-14 00:32:31 -04:00
{% for i in (1..tags_max) reversed %}
{% for tag in site.tags %}
{% if tag[1].size == i and item[1] contains tag[0] %}
<li>
<a href="tags/{{item[0] | replace: '_','-'}}#{{ tag[0] | slugify }}">
<strong>{{ tag[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
</a>
</li>
2019-07-11 15:06:40 -04:00
{% endif %}
{% endfor %}
{% endfor %}
</ul>
2019-03-28 19:40:33 -04:00
{% endfor %}