mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00
Add feature for 3rd party license URLs
This commit is contained in:
@@ -3,7 +3,11 @@
|
||||
<div class="copyright">
|
||||
|
||||
{{ if .Site.Params.copyright }}
|
||||
<a href="{{ .Site.BaseURL }}license">{{ .Site.Params.copyright}}</a>
|
||||
{{ 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>
|
||||
|
Reference in New Issue
Block a user