🐛 Fix `copyright` string not referenced correctly

Fixes: #572
pull/575/head
James Panther 2023-06-04 10:26:15 +10:00
parent 7ec5faff37
commit 8ab314f864
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Language selection repeats current language on multilingual sites instead of linking to translated content ([#565](https://github.com/jpanther/congo/issues/565)) - Language selection repeats current language on multilingual sites instead of linking to translated content ([#565](https://github.com/jpanther/congo/issues/565))
- Icon padding inconsistent when using `--minify` option to build site ([#568](https://github.com/jpanther/congo/pull/568)) - Icon padding inconsistent when using `--minify` option to build site ([#568](https://github.com/jpanther/congo/pull/568))
- Copyright string in the language configuration does not apply ([#572](https://github.com/jpanther/congo/issues/572))
- Upgrade to Mermaid v10.2.1 ([#569](https://github.com/jpanther/congo/pull/569)) - Upgrade to Mermaid v10.2.1 ([#569](https://github.com/jpanther/congo/pull/569))
## [2.6.0] - 2023-05-25 ## [2.6.0] - 2023-05-25

View File

@ -75,7 +75,7 @@
{{/* Copyright */}} {{/* Copyright */}}
{{ if .Site.Params.footer.showCopyright | default true }} {{ if .Site.Params.footer.showCopyright | default true }}
<p class="text-sm text-neutral-500 dark:text-neutral-400"> <p class="text-sm text-neutral-500 dark:text-neutral-400">
{{- with .Site.Params.copyright }} {{- with site.Copyright }}
{{ . | emojify | markdownify }} {{ . | emojify | markdownify }}
{{- else }} {{- else }}
&copy; &copy;