mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
357211a426
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 %}
|