diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html | 106 | ||||
-rw-r--r-- | templates/page.html | 17 | ||||
-rw-r--r-- | templates/section.html | 4 |
3 files changed, 0 insertions, 127 deletions
diff --git a/templates/index.html b/templates/index.html deleted file mode 100644 index 6a61cc0..0000000 --- a/templates/index.html +++ /dev/null @@ -1,106 +0,0 @@ -<!DOCTYPE html> -<html lang="fr"> - - <head> - <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Recettes</title> - <link rel="stylesheet" href="/main.css" /> - <link rel="icon" href="/icon.png"> - </head> - - <body class="g-Page"> - - <header class="g-Page__Header"> - {{ page.title | default (value = "Recettes") }} - </header> - - <main class="g-Page__Content"> - {% block content %} - - <h1 class="g-Recipe__Title">Plats</h1> - - <ul class="g-Page__Recipes"> - {% set section = get_section(path = "plats/_index.md") %} - {% for page in section.pages | sort(attribute = "title") %} - <li class="g-Page__Recipe"> - <a class="g-Link" href="{{ page.permalink }}"> - {{ page.title }} - </a> - </li> - {% endfor %} - </ul> - - <h1 class="g-Recipe__Title">Desserts</h1> - - <h2 class="g-Recipe__SubTitle">Hypoglucidiques</h2> - - <ul class="g-Page__Recipes"> - {% set section = get_section(path = "desserts/hypoglucidique/_index.md") %} - {% for page in section.pages | sort(attribute = "title") %} - <li class="g-Page__Recipe"> - <a class="g-Link" href="{{ page.permalink }}"> - {{ page.title }} - </a> - </li> - {% endfor %} - </ul> - - <h2 class="g-Recipe__SubTitle">Hyperglucidiques</h2> - - <ul class="g-Page__Recipes"> - {% set section = get_section(path = "desserts/hyperglucidique/_index.md") %} - {% for page in section.pages | sort(attribute = "title") %} - <li class="g-Page__Recipe"> - <a class="g-Link" href="{{ page.permalink }}"> - {{ page.title }} - </a> - </li> - {% endfor %} - </ul> - - <h1 class="g-Recipe__Title">Pains</h1> - - <ul class="g-Page__Recipes"> - {% set section = get_section(path = "pains/_index.md") %} - {% for page in section.pages | sort(attribute = "title") %} - <li class="g-Page__Recipe"> - <a class="g-Link" href="{{ page.permalink }}"> - {{ page.title }} - </a> - </li> - {% endfor %} - </ul> - - <h1 class="g-Recipe__Title">Nettoyage</h1> - - <ul class="g-Page__Recipes"> - {% set section = get_section(path = "nettoyage/_index.md") %} - {% for page in section.pages | sort(attribute = "title") %} - <li class="g-Page__Recipe"> - <a class="g-Link" href="{{ page.permalink }}"> - {{ page.title }} - </a> - </li> - {% endfor %} - </ul> - - <h1 class="g-Recipe__Title">Conservation</h1> - - <ul class="g-Page__Recipes"> - {% set section = get_section(path = "conservation/_index.md") %} - {% for page in section.pages | sort(attribute = "title") %} - <li class="g-Page__Recipe"> - <a class="g-Link" href="{{ page.permalink }}"> - {{ page.title }} - </a> - </li> - {% endfor %} - </ul> - - {% endblock content %} - </main> - - </body> - -</html> diff --git a/templates/page.html b/templates/page.html deleted file mode 100644 index 5174a14..0000000 --- a/templates/page.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "index.html" %} - -{% block content %} - - <a class="g-Link" href="/"> - ← Retour à l’accueil - </a> - - <div class="g-Recipe__Content"> - - {{ page.content | safe }} - - </div> - - <script src="/main.js"></script> - -{% endblock content %} diff --git a/templates/section.html b/templates/section.html deleted file mode 100644 index fe1da7f..0000000 --- a/templates/section.html +++ /dev/null @@ -1,4 +0,0 @@ -{% extends "index.html" %} - -{% block content %} -{% endblock content %} |