Add tutorials listing page

This commit is contained in:
Tenkuma 2025-11-16 11:11:46 -03:00 committed by GitHub
commit b034dfa3be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

17
tutorials/tutorials.md Normal file
View file

@ -0,0 +1,17 @@
---
permalink: /tutorials/
---
## Listing Tutorials
<ul>
{% assign tutorials = site.pages | where_exp: "p", p.path contains "tutorials/" %}
{% for t in tutorials %}
{% if t.path != "tutorials/index.md" and t.path != "tutorials/README.md" and t.path != "tutorials.md" %}
<li>
<a href="{{ t.url | relative_url }}">{{ t.title | default: t.path | replace: "tutorials/", "" }}</a>
{% if t.date %} — <time datetime="{{ t.date | date_to_xmlschema }}">{{ t.date | date: "%Y-%m-%d" }}</time>{% endif %}
</li>
{% endif %}
{% endfor %}
</ul>