feat: create index and about pages

This commit is contained in:
Ungol 2025-12-23 22:27:52 +01:00
parent 76b2f3e986
commit c42da160dc
8 changed files with 61 additions and 21 deletions

View file

@ -1,8 +1,13 @@
{% extends "base.html" %}
{% block content %}
<h1 class="title">
This is my blog made with Zola.
</h1>
<p><a href="{{ get_url(path='@/articles/_index.md') }}">Posts</a>.</p>
<section class="intro">
{{ section.content | safe }}
</section>
<section class="last-articles">
<h1>Derniers articles</h1>
{%- set section = get_section(path="articles/_index.md") -%}
{%- set max_articles = 3 -%}
{%- include "partials/articles.html" -%}
</section>
{% endblock content %}