mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
This uses a {% for %} loop in Jekyll to render the page, from the "title"
information in the Front Matter of the actual page files.
This also makes `make-index-md` build rule unnecessary, since generation is
done by the template engine itself.
Tested this by running Jekyll locally.
12 lines
203 B
Markdown
12 lines
203 B
Markdown
---
|
|
title: systemd Documentation
|
|
---
|
|
|
|
# systemd Documentation
|
|
|
|
{% for p in site.pages %}
|
|
{% if p.url != page.url and p.title %}
|
|
* [{{ p.title }}]({{ p.url | relative_url }})
|
|
{% endif %}
|
|
{% endfor %}
|