diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index c1b48dd..78354f2 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -3,6 +3,7 @@ languageCode: en-us theme: hugo-theme-stack paginate: 5 title: Example Site +copyright: Example Person languages: en: diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html index c8d30cb..a677482 100644 --- a/layouts/partials/footer/footer.html +++ b/layouts/partials/footer/footer.html @@ -5,7 +5,7 @@ {{ if and (.Site.Params.footer.since) (ne .Site.Params.footer.since (int (now.Format "2006"))) }} {{ .Site.Params.footer.since }} - {{ end }} - {{ now.Format "2006" }} {{ .Site.Title }} + {{ now.Format "2006" }} {{ default .Site.Title .Site.Copyright }}