aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/post
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/post')
-rw-r--r--layouts/partials/post/copyright.html28
1 files changed, 13 insertions, 15 deletions
diff --git a/layouts/partials/post/copyright.html b/layouts/partials/post/copyright.html
index 208aeee..813da5a 100644
--- a/layouts/partials/post/copyright.html
+++ b/layouts/partials/post/copyright.html
@@ -2,32 +2,30 @@
{{ $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>
+ <span class="item-title">{{ $lang.copyright.author }}</span>
+ <span class="item-content">{{ 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>
+ <span class="item-title">{{ $lang.copyright.lastMod }}</span>
+ <span class="item-content">{{ .Lastmod.Format "2006-01-02" }}</span>
</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>
+ <span class="item-title">{{ $lang.copyright.markdown }}</span>
+ <span class="item-content"><a class="link-to-markdown" href="{{ .Permalink }}" target="_blank">{{ $lang.posts.seeMarkDown }}</a></span>
</p>
{{- end }}
{{- end }}
- <p class="copyright-item license">
- <span class="item-title">{{ $lang.copyright.license }}: </span>
- {{ if .Params.contentCopyright -}}
+ <p class="copyright-item">
+ <span class="item-title">{{ $lang.copyright.license }}</span>
+ <span class="item-content">
+ {{- if .Params.contentCopyright -}}
{{ .Params.contentCopyright | safeHTML }}
- {{ else -}}
+ {{- else -}}
{{ .Site.Params.contentCopyright | safeHTML }}
- {{- end }}
+ {{- end -}}
+ </span>
</p>
</div>
{{- end }} \ No newline at end of file