From a752274ba057e0025308ba75ef23d7e2ca64f555 Mon Sep 17 00:00:00 2001 From: "Evan G." Date: Mon, 20 May 2024 13:21:06 -0500 Subject: [PATCH] Update Footer Logic --- layouts/partials/footer.html | 8 ++++++-- theme.toml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 9ee3fdb..cf46ab0 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,6 +3,10 @@ Privacy Policy | Cookie Policy | Terms of Use

{{ end }} - -

{{ now.Format "2006" }} © {{ $.Site.Params.author }} {{ with .Site.Params.License }} - {{ . | markdownify }} {{ end }}

+ +{{ with .Site.Copyright }} +

{{ now.Format "2006" }} © {{ . | markdownify }}

+{{ else }} +

{{ now.Format "2006" }} © {{ .Site.Params.author }} {{ with .Site.Params.License }} - {{ . | markdownify }} {{ end }}

+{{ end }} Mastodon | Contact Me | RSS Feed

diff --git a/theme.toml b/theme.toml index c9ce5fe..78d0ed0 100644 --- a/theme.toml +++ b/theme.toml @@ -12,4 +12,4 @@ min_version = "0.41.0" [author] name = "RogueFoam" - homepage = "" \ No newline at end of file + homepage = ""