mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 04:51:53 +02:00
added dynamic copyright year
if the param copyright contains the placeholder {year} the current year is returned
This commit is contained in:
parent
a95a7577db
commit
c8e6218a6d
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,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 replace .Site.Params.copyright "{year}" now.Year }}
|
||||||
{{ . | emojify | markdownify }}
|
{{ . | emojify | markdownify }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
©
|
©
|
||||||
|
|
Loading…
Add table
Reference in a new issue