Add tutorials listing page
This commit is contained in:
parent
edee2353e5
commit
b034dfa3be
1 changed files with 17 additions and 0 deletions
17
tutorials/tutorials.md
Normal file
17
tutorials/tutorials.md
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue