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

Loading…
Cancel
Save