From 106dd6a636b9930e5fb35425d507efb1bdb3b58e Mon Sep 17 00:00:00 2001 From: Simon C Date: Fri, 21 Jul 2023 18:17:58 +0200 Subject: [PATCH] feat: Ajout d'une balise head avec l'encodage --- layouts/_default/baseof.html | 2 +- layouts/partials/head.html | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/head.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4b0c0f0..be5206b 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,6 +1,6 @@ -{{/* {{ partial "head.html" . }} */}} +{{ partial "head.html" . }} {{/* {{ partial "header.html" . }} */}} {{/* {{ partial "debug.html" . }} */}} diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..a4cba11 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,14 @@ + + + + + + {{ with .OutputFormats.Get "RSS" }}{{ end }} + + + + {{ if ne hugo.Environment "production" }}{{ end }} + + {{/* {{ partial "social_metadata.html" . }} + {{ partial "style.html" . }} */}} +