mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-08 01:22:29 +00:00
Switch themes to minimo
This commit is contained in:
18
themes/minimo/layouts/partials/footer/copyright.html
Normal file
18
themes/minimo/layouts/partials/footer/copyright.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<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>
|
Reference in New Issue
Block a user