From dda6cbb59870b4da7575a9def664c740fd726dea Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 28 Jul 2024 21:10:58 +0200 Subject: [PATCH] chore: merge home.njk & parent.njk --- _includes/layouts/home.njk | 55 +++++++++++++++++++++++------------- _includes/layouts/parent.njk | 36 ----------------------- 2 files changed, 36 insertions(+), 55 deletions(-) delete mode 100644 _includes/layouts/parent.njk diff --git a/_includes/layouts/home.njk b/_includes/layouts/home.njk index 0f39327..534d3cf 100644 --- a/_includes/layouts/home.njk +++ b/_includes/layouts/home.njk @@ -1,22 +1,39 @@ ---- -layout: layouts/parent.njk ---- + + + + + + {{ title or metadata.title }} + -
-

- {{ metadata.title }} -

-
+ {#- Atom and JSON feeds included by default #} + + + -
-
- {{ content | safe }} -
-
+ {#- Uncomment this if you’d like folks to know that you used Eleventy to build your site! #} + - + {%- css %}{% include "public/css/index.css" %}{% endcss %} + + + + +
+ +
+ +
+

+ {{ metadata.title }} +

+ {{ content | safe }} + Source du site +
+ + + + + + + diff --git a/_includes/layouts/parent.njk b/_includes/layouts/parent.njk deleted file mode 100644 index bf45e08..0000000 --- a/_includes/layouts/parent.njk +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - {{ title or metadata.title }} - - - {#- Atom and JSON feeds included by default #} - - - - - {#- Uncomment this if you’d like folks to know that you used Eleventy to build your site! #} - - - {%- css %}{% include "public/css/index.css" %}{% endcss %} - - - - - Skip to main content - - - -
- {{ content | safe }} -
- - - - - -