Louis Vallat
e0800564cb
All checks were successful
Build and deploy blog / Build-and-deploy (push) Successful in 7s
Signed-off-by: Louis Vallat <contact@louis-vallat.fr>
61 lines
2.3 KiB
HTML
61 lines
2.3 KiB
HTML
{% extends "terminimal/templates/index.html" %}
|
|
|
|
{% block extra_head %}
|
|
<meta name="fediverse:creator" content="@louis@louis-vallat.dev">
|
|
<script defer src="https://umami.louis-vallat.dev/emmet.js" data-website-id="00cd1102-a4c5-4048-b720-b65f38d346b0"></script>
|
|
{% endblock extra_head %}
|
|
|
|
{% 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>
|
|
<span class="button__text">More recent posts</span>
|
|
</a>
|
|
</span>
|
|
{% endif -%}
|
|
{%- if paginator.next %}
|
|
<span class="button next">
|
|
<a href="{{ paginator.next | safe }}">
|
|
<span class="button__text">Older posts</span>
|
|
<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 %} |