Browse Source

layout copyright

main
Hendrik Langer 5 years ago
parent
commit
c257bff597
  1. 2
      layouts/partials/footer.html

2
layouts/partials/footer.html

@ -2,13 +2,13 @@
<hr class="soften">
<p>
&copy;
<span id="thisyear">2020</span>
{{ if eq .Params.License .Site.Params.License }}{{ with .Site.Params.licenseurl }}<a href="{{ . }}">{{ end }}{{ end }}
{{ .Params.License }}
{{ if eq .Params.License .Site.Params.License }}{{ with .Site.Params.licenseurl }}</a>{{ end }}{{ end }}
{{ with .Site.Params.copyrighturl }}<a href="{{ . }}">{{ end }}
{{ .Site.Params.copyrightname }}
{{ with .Site.Params.copyrighturl }}</a>{{ end }}
<span id="thisyear">2020</span>
{{ if isset .Site.Params "showhugo" }}
| {{ i18n "builton" }} <a href="//gohugo.io" target="_blank">Hugo</a>
{{ end }}

Loading…
Cancel
Save