From 11233950545b600f3925f4c81768ed6270dc06ca Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 16 Aug 2025 20:12:55 +0200 Subject: change: replace default footer with generator meta tags --- README.md | 2 ++ layouts/partials/footer.html | 8 -------- layouts/partials/head.html | 2 ++ 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1a6a06e..b231275 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ Tastefejl is a fork of the [Typo] Hugo theme, with the following changes: * Removed the default favicon because no favicon is better than a favicon that has nothing to do with your website. +* Replaced the default footer saying *Powered by Hugo and tomfran/typo* with `` tags because nobody cares. + * Removed [Simple Icons] because I don't want to plaster brands on my website and at one point a 50MB .html file was committed (I filtered the git history to reduce the size of the repository.) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e7d754c..a858a53 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,14 +3,6 @@ {{/* Footer start hook */}} {{ partial "functions/get_hook.html" (dict "hook" "footer_start" "context" .) }} - {{ if not .Site.Params.footerContent }} -

Powered by - Hugo - and - tastefejl -

- {{ end }} - {{ with .Site.Params.footerContent }}

{{ . | markdownify }}

{{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b90d3db..e437156 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,5 +1,7 @@ + + {{/* Head start hook */}} {{ partial "functions/get_hook.html" (dict "hook" "head_start" "context" .) }} -- cgit v1.2.3