ikrpg.github.io/_posts/0000-01-01-Sitemap.html

47 lines
No EOL
1.3 KiB
HTML

---
layout: ikrpg
categories: [ Portal ]
tags: [ Factual dimension, Geographic dimension, Time dimension ]
---
<p>
All pages contained in the IKRPG wiki are listed here. They are either a standalone category page or
assigned to a subproject.
</p>
{% assign sorted_posts = site.posts | sort:"title" %}
<h2 id="Pages">Pages</h2>
<ul>
{% for post in sorted_posts %}
{% if post.categories == empty %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endif %}
{% endfor %}
</ul>
{% comment %}
The below code displays the categories in *sorted* order.
{% endcomment %}
{% capture get_items %}
{% for cat in site.categories %}
{{ cat | first | replace: ' ', '_' }}
{% endfor %}
{% endcapture %}
{% capture num_words %}
{{ get_items | split:' ' | sort | join:' ' | number_of_words }}
{% endcapture %}
{% for item in (1..num_words) %}
{% assign category = get_items | split:' ' | sort | join:' ' | truncatewords:item | remove:'...' | split:' ' | last | replace: '_', ' ' %}
<h2>{{ category | upcase }}</h2>
<ul>
{% for post in sorted_posts %}
{% if post.categories contains category %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
{% endfor %}