Update tutorials.md
This commit is contained in:
parent
b034dfa3be
commit
8fc6f2e239
1 changed files with 4 additions and 3 deletions
|
|
@ -5,11 +5,12 @@ permalink: /tutorials/
|
||||||
## Listing Tutorials
|
## Listing Tutorials
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{% assign tutorials = site.pages | where_exp: "p", p.path contains "tutorials/" %}
|
{% assign tutorials = site.pages | where_exp: "p", "p.path and p.path contains 'tutorials/'" %}
|
||||||
{% for t in tutorials %}
|
{% for t in tutorials %}
|
||||||
{% if t.path != "tutorials/index.md" and t.path != "tutorials/README.md" and t.path != "tutorials.md" %}
|
{% assign p = t.path | default: "" %}
|
||||||
|
{% if p != "tutorials/index.md" and p != "tutorials/README.md" and p != "tutorials.md" %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ t.url | relative_url }}">{{ t.title | default: t.path | replace: "tutorials/", "" }}</a>
|
<a href="{{ t.url | relative_url }}">{{ t.title | default: p | replace: "tutorials/", "" }}</a>
|
||||||
{% if t.date %} — <time datetime="{{ t.date | date_to_xmlschema }}">{{ t.date | date: "%Y-%m-%d" }}</time>{% endif %}
|
{% if t.date %} — <time datetime="{{ t.date | date_to_xmlschema }}">{{ t.date | date: "%Y-%m-%d" }}</time>{% endif %}
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue