aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html12
-rw-r--r--templates/page.html4
2 files changed, 9 insertions, 7 deletions
diff --git a/templates/index.html b/templates/index.html
index 74bf36f..4a420fa 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -12,13 +12,13 @@
<body class="g-Page">
<header class="g-Page__Header">
- Recettes
+ {{ page.title | default (value = "Recettes") }}
</header>
<main class="g-Page__Content">
{% block content %}
- <h1>Plats</h1>
+ <h1 class="g-Recipe__Title">Plats</h1>
<ul class="g-Page__Recipes">
{% set section = get_section(path = "plats/_index.md") %}
@@ -31,9 +31,9 @@
{% endfor %}
</ul>
- <h1>Desserts</h1>
+ <h1 class="g-Recipe__Title">Desserts</h1>
- <h2>Hypoglucidiques</h2>
+ <h2 class="g-Recipe__SubTitle">Hypoglucidiques</h2>
<ul class="g-Page__Recipes">
{% set section = get_section(path = "desserts/hypoglucidique/_index.md") %}
@@ -46,7 +46,7 @@
{% endfor %}
</ul>
- <h2>Hyperglucidiques</h2>
+ <h2 class="g-Recipe__SubTitle">Hyperglucidiques</h2>
<ul class="g-Page__Recipes">
{% set section = get_section(path = "desserts/hyperglucidique/_index.md") %}
@@ -59,7 +59,7 @@
{% endfor %}
</ul>
- <h1>Nettoyage</h1>
+ <h1 class="g-Recipe__Title">Nettoyage</h1>
<ul class="g-Page__Recipes">
{% set section = get_section(path = "nettoyage/_index.md") %}
diff --git a/templates/page.html b/templates/page.html
index 370eaf0..5174a14 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -6,8 +6,10 @@
← Retour à l’accueil
</a>
- <div class="g-Recipe">
+ <div class="g-Recipe__Content">
+
{{ page.content | safe }}
+
</div>
<script src="/main.js"></script>