Skip to content

Commit

Permalink
๐Ÿ“ ๅขžๅŠ ็‰ˆๆƒ่‡ชๅฎšไน‰ใ€ๅˆ†้กต้ข็‰ˆๆƒใ€้š่—็‰ˆๆƒ
Browse files Browse the repository at this point in the history
  • Loading branch information
xtaodada committed Aug 7, 2019
1 parent 0bd1afb commit 6383b60
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 11 deletions.
4 changes: 3 additions & 1 deletion _config.example.yml
Expand Up @@ -114,4 +114,6 @@ changyan:
thread_key_type: path # ๅฏ้€‰ id ๆˆ– path

livere:
data_uid: <data_uid> # ไฝ ็š„ๆฅๅฟ…ๅŠ› UID๏ผŒๅฏไปฅๅœจๆฅๅฟ…ๅŠ›ๅŽๅฐ่Žทๅ–
data_uid: <data_uid> # ไฝ ็š„ๆฅๅฟ…ๅŠ› UID๏ผŒๅฏไปฅๅœจๆฅๅฟ…ๅŠ›ๅŽๅฐ่Žทๅ–

copyright: '<strong>็‰ˆๆƒๅฃฐๆ˜Ž๏ผš</strong>ๆœฌๆ–‡้‡‡็”จ <a href="https://creativecommons.org/licenses/by-nc-sa/3.0/cn/deed.zh" target="_blank">CC BY-NC-SA 3.0 CN</a> ๅ่ฎฎ่ฟ›่กŒ่ฎธๅฏ'
13 changes: 12 additions & 1 deletion languages/default.yml
Expand Up @@ -4,4 +4,15 @@ nav:

archive: Archive
recent_posts: Recent Posts
categories: Categories
categories: Categories
tagcloud: Tagcloud
social: Social

count:
articles: Articles
tags: Tags
categories: Categories

copyright:
author: Author
permalink: Link
6 changes: 5 additions & 1 deletion languages/en.yml
Expand Up @@ -10,4 +10,8 @@ tagcloud: Tag Cloud
count:
articles: Articles
tags: Tags
categories: Categories
categories: Categories

copyright:
author: Author
permalink: Link
6 changes: 5 additions & 1 deletion languages/zh-CN.yml
Expand Up @@ -11,4 +11,8 @@ social: ็คพไบคๆŒ‰้’ฎ
count:
articles: ๆ–‡็ซ 
tags: ๆ ‡็ญพ
categories: ๅˆ†็ฑป
categories: ๅˆ†็ฑป

copyright:
author: ๆœฌๆ–‡ไฝœ่€…
permalink: ๆœฌๆ–‡้“พๆŽฅ
6 changes: 5 additions & 1 deletion languages/zh-HK.yml
Expand Up @@ -10,4 +10,8 @@ tagcloud: ๆจ™็ฑค้›ฒ
count:
articles: ๆ–‡็ซ 
tags: ๆจ™็ฑค
categories: ๅˆ†้กž
categories: ๅˆ†้กž

copyright:
author: ๆœฌๆ–‡ไฝœ่€…
permalink: ๆœฌๆ–‡้ˆๆŽฅ
6 changes: 5 additions & 1 deletion languages/zh-TW.yml
Expand Up @@ -10,4 +10,8 @@ tagcloud: ๆจ™็ฑค้›ฒ
count:
articles: ๆ–‡็ซ 
tags: ๆจ™็ฑค
categories: ๅˆ†้กž
categories: ๅˆ†้กž

copyright:
author: ๆœฌๆ–‡ไฝœ่€…
permalink: ๆœฌๆ–‡้ˆๆŽฅ
12 changes: 12 additions & 0 deletions layout/_partial/copyright.ejs
@@ -0,0 +1,12 @@
<% if (page.hide_copyright !== true && theme.copyright || page.copyright) { %>
<div class="nexmoe-post-copyright">
<i class="mdui-list-item-icon nexmoefont icon-info-circle"></i>
<strong><%- __('copyright.author') %>: </strong><%= config.author %><br>
<strong><%- __('copyright.permalink') %>๏ผš</strong><%- link_to(page.permalink, page.permalink, {external: true}) %><br>
<% if (page.copyright) { %>
<%- page.copyright %>
<% } else { %>
<%- theme.copyright %>
<% } %>
</div>
<% } %>
6 changes: 1 addition & 5 deletions layout/post.ejs
Expand Up @@ -32,11 +32,7 @@
<%- page.content %>
</article>
<% if (!page.reprint){ %>
<div class="nexmoe-post-copyright">
<i class="mdui-list-item-icon nexmoefont icon-info-circle"></i>
<strong>ๆœฌๆ–‡้“พๆŽฅ๏ผš</strong><%- link_to(page.permalink, page.permalink, {external: true}) %><br>
<strong>็‰ˆๆƒๅฃฐๆ˜Ž๏ผš</strong>ๆœฌๆ–‡้‡‡็”จ <%- link_to('https://creativecommons.org/licenses/by-nc-sa/3.0/cn/deed.zh', 'CC BY-NC-SA 3.0 CN', {external: true}) %> ๅ่ฎฎ่ฟ›่กŒ่ฎธๅฏ
</div>
<%- partial('_partial/copyright') %>
<% } %>
<%- partial('_partial/comment') %>
</div>

0 comments on commit 6383b60

Please sign in to comment.