2017-08-30 14:32:17 +00:00
|
|
|
{{ if and .Site.Params.contentCopyright (ne .Params.contentCopyright false) }}
|
2017-08-27 14:38:42 +00:00
|
|
|
{{ $lang := .Site.Data.even.default -}}
|
|
|
|
<div class="post-copyright">
|
|
|
|
<p class="copyright-item">
|
|
|
|
<span class="item-title">{{ $lang.copyright.author }}: </span>
|
|
|
|
<span>{{ if .Params.author }}{{ .Params.author | safeHTML }}{{ else }}{{ .Site.Author.name | safeHTML }}{{ end }}</span>
|
|
|
|
</p>
|
|
|
|
<p class="copyright-item">
|
|
|
|
<span class="item-title">{{ $lang.copyright.lastMod }}: </span>
|
|
|
|
{{ .Lastmod.Format "2006-01-02" }}
|
|
|
|
</p>
|
|
|
|
<p class="copyright-item">
|
|
|
|
<span class="item-title">{{ $lang.copyright.link }}: </span>
|
|
|
|
<a href="{{ .Permalink }}">{{ .Permalink }}</a>
|
|
|
|
</p>
|
|
|
|
{{ if $.Site.Params.linkToMarkDown -}}
|
|
|
|
{{ with $.OutputFormats.Get "markdown" -}}
|
|
|
|
<p class="copyright-item">
|
|
|
|
<span class="item-title">{{ $lang.copyright.markdown }}: </span>
|
|
|
|
<a class="link-to-markdown" href="{{ .Permalink }}" target="_blank">{{ $lang.posts.seeMarkDown }}</a>
|
|
|
|
</p>
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
2017-09-05 14:54:11 +00:00
|
|
|
<p class="copyright-item license">
|
|
|
|
<span class="item-title">{{ $lang.copyright.license }}: </span>
|
2017-08-30 14:32:17 +00:00
|
|
|
{{ if .Params.contentCopyright -}}
|
|
|
|
{{ .Params.contentCopyright | safeHTML }}
|
2017-08-27 14:38:42 +00:00
|
|
|
{{ else -}}
|
2017-08-30 14:32:17 +00:00
|
|
|
{{ .Site.Params.contentCopyright | safeHTML }}
|
2017-08-27 14:38:42 +00:00
|
|
|
{{- end }}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{{- end }}
|