diff options
author | Alexander Bilz <mail@alexbilz.com> | 2021-05-25 21:29:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-25 21:29:40 +0300 |
commit | 36e0d297980ae62d34ecf2f47e676f4c3d78419e (patch) | |
tree | 8540f7895ab6e7b3106465bf0cdd9167381231d7 | |
parent | 80312357ceee167aa9f224281363933a47e27994 (diff) | |
parent | 93011feabd83ec37cb42bb8e5b7ddfa4f049bac0 (diff) |
Treat the "copyright" parameter as markdown (#208)
Treat the "copyright" parameter as markdown.
-rw-r--r-- | layouts/partials/sidebar.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 39da7dc..1c519b5 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -18,6 +18,6 @@ {{ end }} </ul> <div class="footer"> - <div class="by_farbox">© {{ if isset .Site.Params "copyright" }} {{ .Site.Params.copyright }} {{ else }} {{ .Site.Params.author }} {{ now.Format "2006"}} {{end}}</div> + <div class="by_farbox">© {{ if isset .Site.Params "copyright" }} {{ .Site.Params.copyright | markdownify }} {{ else }} {{ .Site.Params.author }} {{ now.Format "2006"}} {{end}}</div> </div> </div> |