From b086aa64a79fbb3ce497648aa51d9deb25a7f4d7 Mon Sep 17 00:00:00 2001 From: peps Date: Sat, 22 Mar 2025 22:26:36 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=20Added=20a=20link=20to=20the=20bl?= =?UTF-8?q?og's=20source=20code=20in=20the=20footer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hugo.yaml | 3 +++ layouts/partials/footer.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hugo.yaml b/hugo.yaml index 574927e..05e0eca 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -55,6 +55,9 @@ params: - name: "rss" url: "https://sudodnf.com/index.xml" + footer: + text: "[Source code](https://git.sudodnf.com/peps/blog)" + env: production # to enable google analytics, opengraph, twitter-cards and schema. DateFormat: "2 de January de 2006" defaultTheme: auto # dark, light diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 4bb7183..002c6d1 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -9,8 +9,8 @@ {{- end }} {{- with site.Params.footer.text }} - {{ . | markdownify }} {{- print " ยท "}} + {{ . | markdownify }} {{- end }}