From cffd4dd2455413535d07cae174b4c2faef8b9bfa Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Mon, 11 Sep 2017 17:38:16 +0800 Subject: style: change content copyright style delete link in content copyright change item-title style --- layouts/partials/post/copyright.html | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'layouts/partials') 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 -}}
- {{ $lang.copyright.author }}: - {{ if .Params.author }}{{ .Params.author | safeHTML }}{{ else }}{{ .Site.Author.name | safeHTML }}{{ end }} + {{ $lang.copyright.author }} + {{ if .Params.author }}{{ .Params.author | safeHTML }}{{ else }}{{ .Site.Author.name | safeHTML }}{{ end }}
- {{ $lang.copyright.lastMod }}: - {{ .Lastmod.Format "2006-01-02" }} -
-- {{ $lang.copyright.link }}: - {{ .Permalink }} + {{ $lang.copyright.lastMod }} + {{ .Lastmod.Format "2006-01-02" }}
{{ if $.Site.Params.linkToMarkDown -}} {{ with $.OutputFormats.Get "markdown" -}}- {{ $lang.copyright.markdown }}: - {{ $lang.posts.seeMarkDown }} + {{ $lang.copyright.markdown }} + {{ $lang.posts.seeMarkDown }}
{{- end }} {{- end }} -- {{ $lang.copyright.license }}: - {{ if .Params.contentCopyright -}} +
+ {{ $lang.copyright.license }} + + {{- if .Params.contentCopyright -}} {{ .Params.contentCopyright | safeHTML }} - {{ else -}} + {{- else -}} {{ .Site.Params.contentCopyright | safeHTML }} - {{- end }} + {{- end -}} +