Hello guys,
I’m trying migrate from vuepress and my blog has the content folder with some structure like:
content/2023/
02/
10/
title-of-article/index.md
As yyyy/mm/dd.
I can see it working in Zola, but I dont know yet how can I show it as paginated or listed in one loop, someone can help me?
My blog.html has:
{% extends "base.html" %}
{% import "post-preview.html" as post_macros %}
{% block posthead %}
{% for post in section.pages %}
<link rel="prerender" href="{{ post.permalink }}" />
{% endfor %}
{% endblock posthead %}
{% block content %}
{{ section.content | safe }}
{% for post in section.pages %}
{{ post_macros::post_preview(post=post) }}
{% endfor %}
{% endblock content %}