à la carte
This commit is contained in:
parent
a2c3c3eab0
commit
10b6804d72
8 changed files with 120 additions and 15 deletions
|
|
@ -29,11 +29,11 @@
|
|||
</a>
|
||||
<nav id="header-menu">
|
||||
<ul class="phone-hidden">
|
||||
<li><a href="/fonctionnement">Fonctionnement</a></li>
|
||||
<li><a href="/tarifs">Services et tarifs</a></li>
|
||||
<li><a href="/qui-sommes-nous">Qui sommes-nous</a></li>
|
||||
<li><a href="/charte">Charte</a></li>
|
||||
<li><a href="/contact">Contact</a></li>
|
||||
<li><a href="/fonctionnement/">Fonctionnement</a></li>
|
||||
<li><a href="/services/">Services et tarifs</a></li>
|
||||
<li><a href="/qui-sommes-nous/">Qui sommes-nous</a></li>
|
||||
<li><a href="/charte/">Charte</a></li>
|
||||
<li><a href="/contact/">Contact</a></li>
|
||||
</ul>
|
||||
|
||||
<details class="phone-only hamburger-menu">
|
||||
|
|
@ -46,11 +46,11 @@
|
|||
<img decoding="async" src="/img/librezo-little-black.png" alt="Librezo"/>
|
||||
</picture>
|
||||
</li>
|
||||
<li><a href="/fonctionnement">Fonctionnement</a></li>
|
||||
<li><a href="/tarifs">Services et tarifs</a></li>
|
||||
<li><a href="/qui-sommes-nous">Qui sommes-nous</a></li>
|
||||
<li><a href="/charte">Charte</a></li>
|
||||
<li><a href="/contact">Contact</a></li>
|
||||
<li><a href="/fonctionnement/">Fonctionnement</a></li>
|
||||
<li><a href="/services/">Services et tarifs</a></li>
|
||||
<li><a href="/qui-sommes-nous/">Qui sommes-nous</a></li>
|
||||
<li><a href="/charte/">Charte</a></li>
|
||||
<li><a href="/contact/">Contact</a></li>
|
||||
</ul>
|
||||
</details>
|
||||
</nav>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,6 @@
|
|||
{% block body %}
|
||||
<main class="narrower">
|
||||
{% if page.title %}<h1>{{ page.title }}</h1>{% endif %}
|
||||
{{page.content | safe}}
|
||||
{{ page.content | safe }}
|
||||
</main>
|
||||
{% endblock body %}
|
||||
|
|
|
|||
13
templates/section.html
Normal file
13
templates/section.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{% if section.title %}{{ section.title }} | {% endif %}{{ config.extra.sitename|safe }}{% endblock title %}
|
||||
|
||||
{% block head %}
|
||||
{% endblock head %}
|
||||
|
||||
{% block body %}
|
||||
<main class="narrower">
|
||||
{% if section.title %}<h1>{{ section.title }}</h1>{% endif %}
|
||||
{{ section.content | safe }}
|
||||
</main>
|
||||
{% endblock body %}
|
||||
5
templates/shortcodes/alacarte_item.html
Normal file
5
templates/shortcodes/alacarte_item.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<div class="alacarte-item">
|
||||
<span class="alacarte-title">{{ title | safe }}</span>
|
||||
<p class="alacarte-text1">{{ text1 | safe }}</p>
|
||||
{% if text2 %}<p class="alacarte-text2">{{ text2 | safe }}</p>{% endif %}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue