mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
5d3f5e4081
Let's use the rough categorization of the markdown pages to add basic sections, via Jeykll templating. Also, add in a couple of additional links via a JSON array that lists them. So much web development, so much wow!
499 B
499 B
title |
---|
systemd Documentation |
systemd Documentation
{% assign by_category = site.pages | group_by:"category" %} {% assign extra_pages = site.data.extra_pages | group_by:"category" %} {% assign merged = by_category | concat: extra_pages | sort:"name" %}
{% for pair in merged %} {% if pair.name != "" %}
{{ pair.name }}
{% assign sorted = pair.items | sort:"title" %}{% for page in sorted %}
- [{{ page.title }}]({{ page.url | relative_url }}){% endfor %} {% endif %} {% endfor %}