Add feature for 3rd party license URLs

This commit is contained in:
Valentin Sundermann
2017-06-10 13:25:07 +02:00
parent 103b92f658
commit 1e8b3beeed

View File

@@ -3,8 +3,12 @@
<div class="copyright">
{{ if .Site.Params.copyright }}
{{ if .Site.Params.copyrightUrl }}
<a href="{{ .Site.Params.copyrightUrl }}">{{ .Site.Params.copyright }}</a>
{{ else }}
<a href="{{ .Site.BaseURL }}license">{{ .Site.Params.copyright }}</a>
{{ end }}
{{ end }}
</div>
<div class="icons">