From 64ba482ddaad571b8e040c0c1252de7dd718e39d Mon Sep 17 00:00:00 2001 From: cuqmbr Date: Sat, 17 May 2025 19:43:53 +0300 Subject: [PATCH] remove copyright notice in footer --- hugo.yaml | 2 +- layouts/partials/footer.html | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/footer.html diff --git a/hugo.yaml b/hugo.yaml index 2212d53..fff8dfb 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -4,7 +4,7 @@ baseURL: https://cuqmbr.xyz/ theme: terminal enableGitInfo: true -copyright: 'Powered by Hugo' +copyright: "" defaultContentLanguage: en defaultContentLanguageInSubdir: true diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..abb48b4 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,19 @@ +{{ if $.Site.Copyright }} + +{{ end }} + +{{ $menu := resources.Get "js/menu.js" | js.Build }} +{{ $prism := resources.Get "js/prism.js" | js.Build }} + +{{ $bundle := slice $menu $prism | resources.Concat "bundle.js" | resources.Minify }} + + + + +{{ partial "extended_footer.html" . }}