diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 3604c7ee..27a32220 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -105,7 +105,7 @@ The default file can be used as a template to create additional languages, or re | `dateFormat` | `"2 January 2006"` | How dates are formatted in this language. Refer to the [Hugo docs](https://gohugo.io/functions/format/#gos-layout-string) for acceptable formats. | | `title` | `"Blowfish"` | The title of the website. This will be displayed in the site header and footer. | | `description` | _Not set_ | The website description. This will be used in the site metadata. | -| `copyright` | _Not set_ | A Markdown string for the site footer copyright message can include the placeholder {year} to dynamically insert the current year. If none is provided, Blowfish will automatically generate a copyright string using the site `title`. | +| `copyright` | _Not set_ | A Markdown string for the site footer copyright message can include the placeholder { year } to dynamically insert the current year. If none is provided, Blowfish will automatically generate a copyright string using the site `title`. | | `author.name` | _Not set_ | The author's name. This will be displayed in article footers, and on the homepage when the profile layout is used. | | `author.image` | _Not set_ | Path to the image file of the author. The image should be a 1:1 aspect ratio and placed in the site's `assets/` folder. | | `author.headline` | _Not set_ | A Markdown string containing the author's headline. It will be displayed on the profile homepage under the author's name. | diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 6673d945..964f4b79 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -19,7 +19,7 @@ {{/* Copyright */}} {{ if .Site.Params.footer.showCopyright | default true }}

- {{- with replace .Site.Params.copyright "{year}" now.Year }} + {{- with replace .Site.Params.copyright "{ year }" now.Year }} {{ . | emojify | markdownify }} {{- else }} ©