🎨 Add post title in creative commons content.

This commit is contained in:
凡梦星尘 2022-06-04 17:54:34 +08:00
parent 109a749260
commit e48a1427b6
3 changed files with 8 additions and 0 deletions

View File

@ -55,6 +55,8 @@ PostReadMore:
PostEditTitle: PostEditTitle:
other: Edit this post other: Edit this post
PostCRTitle:
other: Post Title
PostCRAuthor: PostCRAuthor:
other: Post Author other: Post Author
PostCRLink: PostCRLink:

View File

@ -57,6 +57,8 @@ PostReadMore:
PostEditTitle: PostEditTitle:
other: 编辑 other: 编辑
PostCRTitle:
other: 文章标题
PostCRAuthor: PostCRAuthor:
other: 本文作者 other: 本文作者
PostCRLink: PostCRLink:

View File

@ -2,6 +2,10 @@
<div class="post-copyright"> <div class="post-copyright">
<img src="/imgs/cc/cc.svg" width="75" height="75" align="right" /> <img src="/imgs/cc/cc.svg" width="75" height="75" align="right" />
<ul> <ul>
<li class="post-copyright-title">
<strong>{{ print (T "PostCRTitle") (T "SymbolColon") }}</strong>
{{ .Title }}
</li>
<li class="post-copyright-author"> <li class="post-copyright-author">
{{- if isset .Params "author" }} {{- if isset .Params "author" }}
<strong>{{ print (T "PostCROriginAuthor") (T "SymbolColon") }} </strong> <strong>{{ print (T "PostCROriginAuthor") (T "SymbolColon") }} </strong>