2024-04-12 17:45:33 +02:00
{% extends "terminimal/templates/index.html" %}
2024-07-27 12:58:53 +02:00
{% block extra_head %}
2024-10-22 22:49:46 +02:00
< meta name = "fediverse:creator" content = "@louis@louis-vallat.dev" >
2024-07-27 12:52:08 +02:00
< script defer src = "https://umami.louis-vallat.dev/emmet.js" data-website-id = "00cd1102-a4c5-4048-b720-b65f38d346b0" > < / script >
2024-07-27 12:58:53 +02:00
{% endblock extra_head %}
2024-07-27 12:52:08 +02:00
2024-04-12 17:45:33 +02:00
{% block content %}
< div class = "posts" >
{%- if paginator %}
{%- set show_pages = paginator.pages -%}
{% else %}
{%- set show_pages = section.pages -%}
{% endif -%}
{%- for page in show_pages %}
< div class = "post on-list" >
{{ post_macros::header(page=page) }}
{{ post_macros::content(page=page, summary=true, show_only_description=page.extra.show_only_description | default(value=false)) }}
< / div >
{% endfor -%}
< div class = "pagination" >
< div class = "pagination__buttons" >
{%- if paginator.previous %}
< span class = "button previous" >
< a href = "{{ paginator.previous | safe }}" >
< span class = "button__icon" > ←< / span >
2024-08-04 17:43:04 +02:00
< span class = "button__text" > More recent posts< / span >
2024-04-12 17:45:33 +02:00
< / a >
< / span >
{% endif -%}
{%- if paginator.next %}
< span class = "button next" >
< a href = "{{ paginator.next | safe }}" >
2024-08-04 17:43:04 +02:00
< span class = "button__text" > Older posts< / span >
2024-04-12 17:45:33 +02:00
< span class = "button__icon" > →< / span >
< / a >
< / span >
{% endif -%}
< / div >
< / div >
< / div >
{% endblock content %}
{% block footer %}
< footer class = "footer" >
< div class = "footer__inner" >
{%- if config.extra.copyright_html %}
< div class = "copyright copyright--user" > {{ config.extra.copyright_html | safe }}< / div >
{% else %}
< div class = "copyright" >
< span > {{ config.extra.author }}< / span >
< span >
< span > :: < / span >
Made with ❤, < a href = "https://gitlab.com/lovallat/blog" target = "_blank" > Open Source Software< / a > , < a href = "https://www.getzola.org" target = "_blank" > Zola< / a > and < a href = "https://github.com/pawroman/zola-theme-terminimal/" target = "_blank" > Terminimal< / a >
< / span >
< / div >
{% endif -%}
< / div >
< / footer >
{% endblock footer %}