-
Notifications
You must be signed in to change notification settings - Fork 1
/
copyright.html
19 lines (18 loc) · 1.08 KB
/
copyright.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{{ if ne .Site.Params.Copyright.Prefix ""}}{{ with .Site.Params.Copyright.Prefix }}
{{ . | markdownify }} |
{{end}}{{end}}
©
{{if ne .Site.Site.Params.copyright.url ""}}{{ with .Site.Params.copyright.url }}<a href="{{ . }}" target="_blank">{{ end }}{{ end }}
{{if ne .Site.Site.Params.copyright.name ""}}{{ .Site.Params.copyright.name }}{{end}}
{{if ne .Site.Site.Params.copyright.url ""}}{{ with .Site.Params.copyright.url }}</a>{{ end }}{{ end }}
©
{{if ne .Site.Site.Params.copyright.url1 ""}}{{ with .Site.Params.copyright.url1 }}<a href="{{ . }}" target="_blank">{{ end }}{{ end }}
{{if ne .Site.Site.Params.copyright.name1 ""}}{{ .Site.Params.copyright.name1 }}{{end}}
{{if ne .Site.Site.Params.copyright.url1 ""}}{{ with .Site.Params.copyright.url1 }}</a>{{ end }}{{ end }}
<span id="thisyear">2022</span> all rights reserved
{{ if ne .Site.Params.Copyright.Suffix ""}}{{ with .Site.Params.Copyright.Suffix }}
| {{ . | markdownify }}
{{end}}{{end}}
{{ if isset .Site.Params "showhugo" }}
| {{ i18n "builton" }} <a href="//gohugo.io" target="_blank">Hugo</a>
{{ end }}