improve blog

This commit is contained in:
oiseauroch
2023-04-08 19:43:40 +02:00
parent 62939f6b41
commit 162e87ebda
26 changed files with 241 additions and 148 deletions

View File

@@ -3,13 +3,19 @@
{% block content %}
{% for taxo in terms %}
<div class="columns is-vcentered mt-6">
{{ macro_card::create_card_tag(link=current_url, title=taxo.name) }}
{% for taxo in terms %}
<div class="columns is-multiline mt-6">
<a class="plus-articles button is-link is-light is-medium has-text-weight-bold" href="{{ taxo.permalink }}">
{{ taxo.name }}
<i class="computer fas fa-chevron-right mx-2" ></i>
</a>
{% for page in taxo.pages %}
{{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags=page.taxonomies.tags, date=page.date) }}
{% endfor %}
</div>
{% endfor %}
{% if loop.index0 == 3 %}{% break %}{% endif %}
{{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags=page.taxonomies.Tag, date=page.date) }}
{% endfor %}
</div>
{% endfor %}
{% endblock content %}