diff options
author | Martin Fischer <martin@push-f.com> | 2025-08-16 20:12:55 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-08-16 20:52:57 +0200 |
commit | 11233950545b600f3925f4c81768ed6270dc06ca (patch) | |
tree | 6068af271f524d62e1e2ee4c834676afb8e21a8e | |
parent | 6be959ca812db36cbd741d3e94a019281b4c0895 (diff) |
change: replace default footer with generator meta tags
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 8 | ||||
-rw-r--r-- | layouts/partials/head.html | 2 |
3 files changed, 4 insertions, 8 deletions
@@ -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 `<meta name=generator>` 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 }} - <p>Powered by - <a href="https://gohugo.io/">Hugo</a> - and - <a href="https://git.push-f.com/tastefejl/">tastefejl</a> - </p> - {{ end }} - {{ with .Site.Params.footerContent }} <p>{{ . | markdownify }}</p> {{ 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 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> +<meta name="generator" content="Hugo"> +<meta name="generator" content="Tastefejl"> {{/* Head start hook */}} {{ partial "functions/get_hook.html" (dict "hook" "head_start" "context" .) }} |