Rename notes to zets
This commit is contained in:
parent
e70d8c6f1f
commit
6d4667887d
35 changed files with 57 additions and 33 deletions
9
source/_includes/zets/links.html.twig
Normal file
9
source/_includes/zets/links.html.twig
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% if links is not empty %}
|
||||
<h2>Links</h2>
|
||||
|
||||
<ul>
|
||||
{% for url in links %}
|
||||
<li><a href="{{ url }}">{{ url }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
13
source/_includes/zets/related.html.twig
Normal file
13
source/_includes/zets/related.html.twig
Normal file
|
@ -0,0 +1,13 @@
|
|||
{% if related and zets %}
|
||||
<section>
|
||||
<h2>Related</h2>
|
||||
|
||||
<ul>
|
||||
{% for zet in zets if related|filter((title) => title == zet.title) %}
|
||||
<li>
|
||||
<a href="{{ zet.url }}">{{ zet.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
{% endif %}
|
10
source/_includes/zets/tags.html.twig
Normal file
10
source/_includes/zets/tags.html.twig
Normal file
|
@ -0,0 +1,10 @@
|
|||
{% if tags is not empty %}
|
||||
<h2>Tags</h2>
|
||||
|
||||
<ul>
|
||||
{% for tag in tags|sort %}
|
||||
<li>{{ tag }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue