From 7f558517f40833d7d80ddcfb4c356ce8dce18463 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 11 May 2022 17:53:45 +0200 Subject: Premier ajout de contenu --- templates/index.html | 90 ++++++++++++++++------------------------------------ 1 file changed, 27 insertions(+), 63 deletions(-) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index 3afc311..abbfeb6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -10,8 +10,6 @@ {% endblock favicon %} {% include "_variables.html" %} - - {% block head %} @@ -23,83 +21,49 @@
{{ macros::render_header() }}
- - {#
- {{ macros::render_header() }} -
#} - - {#
- {% block hero %} - -
-

- Build your static website -

-

- Juice is an intuitive, elegant, and lightweight Zola theme for product websites. -

-
- Star - Fork -
-
- - -
- Explore More ⇩ -
- - {% endblock hero %} -
- #} {% endblock header %}
{% block toc %} - {% if section.toc %} - {% set toc = section.toc %} - {% elif page.toc %} - {% set toc = page.toc %} - {% endif %} - {% if toc %} + {% if page.ancestors %} + {% set section = get_section(path=page.ancestors | last) %} + {% endif %} + {% if section.ancestors %} + {% set parent = get_section(path=section.ancestors | last) %} + {% endif %}
- {% for h in toc %} -
- {{ h.title }} + - {% if h.children %} - {% for h2 in h.children %} -
- - {{ h2.title }} + {% if section.subsections %} + {% for s in section.subsections %} + {% set p = get_section(path=s) %} + {% endfor %} - {% endif %} + {% endif %} + + {% if section.pages %} + {% for p in section.pages %} + {% endfor %} + {% endif %} + {% if parent %} + + {% endif %}
- {% endif %} {% endblock toc %}
{% block content %} -
Overview
+
{{ section.title }}
{{ section.content | safe }} {% endblock content %}
-- cgit v1.2.3