mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-07 09:02:29 +00:00
19 lines
532 B
HTML
19 lines
532 B
HTML
<div class='copyright'>
|
|
<p>
|
|
{{- with .Site.Copyright -}}
|
|
{{ . }}
|
|
{{- else -}}
|
|
{{- with .Site.Params.copyright -}}
|
|
|
|
{{- with .startyear -}}
|
|
{{- if lt ( int . ) now.Year -}}
|
|
{{- $.Scratch.Set "copyrightStartYear" . -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{ .prefix | markdownify }} © {{ with ( $.Scratch.Get "copyrightStartYear" ) }}{{ . }}-{{ end }}{{ now.Year }} {{ or .holder $.Site.Title | markdownify }} {{ .suffix | markdownify }}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
</p>
|
|
</div>
|