mirror of
https://github.com/ikrpg/ikrpg.github.io.git
synced 2026-05-13 14:27:22 +00:00
Added progress bars in project presentation on main page
This commit is contained in:
parent
5a5773042a
commit
f571da7fe2
17 changed files with 361 additions and 34 deletions
47
_posts/0000-01-01-Sitemap.html
Normal file
47
_posts/0000-01-01-Sitemap.html
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
---
|
||||
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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue