From a04d6287a1fb5d43f9b39ff22015fcd61823e4cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arnaud=20Gu=C3=A9ras?= Date: Wed, 30 Oct 2024 04:06:06 +0100 Subject: [PATCH] generate footer for blog --- hugo.yaml | 7 +++++++ hugo_stats.json | 2 ++ themes/xen-project/layouts/partials/footer.html | 4 +--- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/hugo.yaml b/hugo.yaml index 1754df1..0a6d485 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -17,6 +17,7 @@ outputs: - HTML - RSSoui appelle - HEADER + - FOOTER outputFormats: HEADER: @@ -25,6 +26,12 @@ outputFormats: isPlainText: true rel: "header" notAlternative: true + FOOTER: + mediaType: "text/html" + baseName: "footer" + isPlainText: true + rel: "footer" + notAlternative: true menus: main: diff --git a/hugo_stats.json b/hugo_stats.json index 3c41ba8..27b554d 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -9,6 +9,7 @@ "code", "div", "em", + "footer", "form", "h1", "h2", @@ -245,6 +246,7 @@ "escalation", "exceptional-circumstances", "expressing-agreement-and-disagreement", + "footer", "forming-a-project", "general", "goals", diff --git a/themes/xen-project/layouts/partials/footer.html b/themes/xen-project/layouts/partials/footer.html index b7d9d14..49033f0 100644 --- a/themes/xen-project/layouts/partials/footer.html +++ b/themes/xen-project/layouts/partials/footer.html @@ -1,8 +1,7 @@ -