mutualisation des templates d'accomplissement et objectifs en sections

This commit is contained in:
2026-03-09 14:45:47 +01:00
parent e64b1e05c5
commit 557c7da71d
5 changed files with 6 additions and 16 deletions

View File

@@ -2,6 +2,6 @@
title = "Liste des Accomplissements"
description = "Liste "
sort_by = "title"
template = "accomplissements.html"
template = "sections.html"
page_template = "page.html"
+++

View File

@@ -2,6 +2,6 @@
title = "Liste des Objectifs"
description = "Objectifs a atteindre de Hatmos"
sort_by = "title"
template = "objectifs.html"
template = "sections.html"
page_template = "page.html"
+++

View File

@@ -52,3 +52,7 @@ blockquote{
border-radius: 10px 10px 10px 10px;
padding: 10px;
}
footer{
margin: 5px;
}

View File

@@ -1,14 +0,0 @@
{% extends "base.html" %}
{% block content %}
<div class="main-content">
<h1>
{{section.title}}
</h1>
<ul>
{% for page in section.pages %}
<li><a href="{{page.permalink | safe}}">{{page.title}}</a></li>
{% endfor %}
</ul>
</div>
{% endblock content %}