feat: create hayflow, a zola theme

This commit is contained in:
Cyril MARPAUD
2023-03-03 18:18:40 +01:00
commit c36b81bca5
11 changed files with 980 additions and 0 deletions

19
templates/cards/list.html Normal file
View File

@@ -0,0 +1,19 @@
{{ section.content | safe }}
{% for page in section.pages %}
{% set_global link_after = not link_after | default(value=false) %}
<h2>{{ page.title }}</h2>
<div class="list">
{% if link_after %}
{{ page.content | safe }}
{% endif %}
{% if page.extra.link %}
<a aria-label="external link" class="list_link" href="{{ page.extra.link }}" target="_blank" rel="noopener noreferrer">Découvrir</a>
{% endif %}
{% if not link_after %}
{{ page.content | safe }}
{% endif %}
</div>
{% endfor %}