mutualisation des templates d'accomplissement et objectifs en sections
This commit is contained in:
@@ -2,6 +2,6 @@
|
|||||||
title = "Liste des Accomplissements"
|
title = "Liste des Accomplissements"
|
||||||
description = "Liste "
|
description = "Liste "
|
||||||
sort_by = "title"
|
sort_by = "title"
|
||||||
template = "accomplissements.html"
|
template = "sections.html"
|
||||||
page_template = "page.html"
|
page_template = "page.html"
|
||||||
+++
|
+++
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
title = "Liste des Objectifs"
|
title = "Liste des Objectifs"
|
||||||
description = "Objectifs a atteindre de Hatmos"
|
description = "Objectifs a atteindre de Hatmos"
|
||||||
sort_by = "title"
|
sort_by = "title"
|
||||||
template = "objectifs.html"
|
template = "sections.html"
|
||||||
page_template = "page.html"
|
page_template = "page.html"
|
||||||
+++
|
+++
|
||||||
|
|||||||
@@ -52,3 +52,7 @@ blockquote{
|
|||||||
border-radius: 10px 10px 10px 10px;
|
border-radius: 10px 10px 10px 10px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
footer{
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
|
|||||||
@@ -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 %}
|
|
||||||
Reference in New Issue
Block a user