Skip to content

Commit b751222

Browse files
committed
cache le footer
1 parent ad7e800 commit b751222

File tree

2 files changed

+4
-29
lines changed

2 files changed

+4
-29
lines changed

content/articles/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
title: "Liste des derniers articles parus"
33
template: custom_templates/index_articles.html
44
# theme customizations
5+
hide:
6+
- footer
7+
- navigation
8+
- toc
59
search:
610
exclude: true
711
---

content/theme/custom_templates/index_articles.html

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -69,34 +69,5 @@ <h5>{{ "Publié le {}".format(contenu.date_txt_long) |
6969
</div>
7070
</div>
7171

72-
{% endblock %}
73-
74-
<!-- Content -->
75-
{% block content %}
76-
{% endblock %}
7772

78-
<!-- Light footer -->
79-
{% block footer %}
80-
<footer class="md-footer">
81-
<div class="md-footer-meta md-typeset">
82-
<div class="md-footer-meta__inner md-grid">
83-
<!-- Copyright and theme information -->
84-
<div class="md-footer-copyright">
85-
{% if config.copyright %}
86-
<div class="md-footer-copyright__highlight">
87-
{{ config.copyright }}
88-
</div>
89-
{% endif %}
90-
Généré avec
91-
<a href="https://www.mkdocs.org" title="MkDocs">MkDocs</a>
92-
et le thème
93-
<a href="https://squidfunk.github.io/mkdocs-material/" title="Material for MkDocs">
94-
Material for MkDocs</a>
95-
</div>
96-
{% block social %}
97-
{% include "partials/social.html" %}
98-
{% endblock %}
99-
</div>
100-
</div>
101-
</footer>
10273
{% endblock %}

0 commit comments

Comments
 (0)