mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-02-15 00:01:11 +01:00
Fix: remove submodule
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{{- $author := site.Params.footer.copyright.author }}
|
||||
{{- $yearStart := string site.Params.footer.copyright.yearStart }}
|
||||
{{- $yearEnd := string (default (now.Format "2006") site.Params.footer.copyright.yearEnd) }}
|
||||
{{- $yearSpan := "" }}
|
||||
{{- if not $yearStart }}
|
||||
{{- /* Use $yearEnd if $yearStart doesn't exist */ -}}
|
||||
{{- $yearSpan = $yearEnd }}
|
||||
{{- else if eq $yearStart $yearEnd }}
|
||||
{{- $yearSpan = $yearEnd }}
|
||||
{{- else }}
|
||||
{{- $yearSpan = printf "%s-%s" $yearStart $yearEnd }}
|
||||
{{- end -}}
|
||||
<p class="footer__copyright-notice">© {{ $yearSpan }} {{ $author }}</p>
|
||||
Reference in New Issue
Block a user