mirror of
https://github.com/flysnow-org/maupassant-hugo.git
synced 2026-08-24 15:28:55 +00:00
11 lines
724 B
HTML
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 }}
|