mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
added dynamic copyright year
if the param copyright contains the placeholder {year} the current year is returned
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
{{/* Copyright */}}
|
||||
{{ if .Site.Params.footer.showCopyright | default true }}
|
||||
<p class="text-sm text-neutral-500 dark:text-neutral-400">
|
||||
{{- with .Site.Params.copyright }}
|
||||
{{- with replace .Site.Params.copyright "{year}" now.Year }}
|
||||
{{ . | emojify | markdownify }}
|
||||
{{- else }}
|
||||
©
|
||||
|
||||
Reference in New Issue
Block a user