Files
maupassant-hugo/layouts/partials/copyright.html
T
2024-12-28 20:41:47 +08:00

11 lines
724 B
HTML

{{ if and (isset .Site.Params "cc") (in (slice "post" "posts") .Type) }}
<div class="post-archive">
<ul class="post-copyright">
<li><strong>{{ i18n "Copyright_author" }}</strong><a rel="author" href="{{ .Site.BaseURL}}">{{ if isset .Site.Params "Author" }}{{.Site.Params.Author}}{{ else }}{{.Site.Title}}{{ end }}</a></li>
<li style="word-break:break-all"><strong>{{ i18n "Copyright_link" }}</strong><a href="{{ .Permalink}}">{{ .Permalink}}</a></li>
<li><strong>{{ i18n "Copyright_license" }}</strong>{{ i18n "Copyright_license_workUnder" }}<a rel="license" href="{{.Site.Params.cc.link}}">{{.Site.Params.cc.name}}</a>. {{ i18n "Copyright_license_note" }}</li>
</ul>
</div>
<br/>
{{ end }}