mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-10 21:17:07 +08:00
修改部分用语
This commit is contained in:
16
_config.yml
16
_config.yml
@@ -159,7 +159,7 @@ wordcount:
|
|||||||
|
|
||||||
# Display the article introduction on homepage
|
# Display the article introduction on homepage
|
||||||
# 1: description
|
# 1: description
|
||||||
# 2: both (if the description exists, it will show description. or show the auto_excerpt)
|
# 2: both (if the description exists, it will show description, or show the auto_excerpt)
|
||||||
# 3: auto_excerpt (default)
|
# 3: auto_excerpt (default)
|
||||||
index_post_content:
|
index_post_content:
|
||||||
method: 3
|
method: 3
|
||||||
@@ -252,7 +252,7 @@ comments:
|
|||||||
# - Disqus
|
# - Disqus
|
||||||
text: true # Display the comment name next to the button
|
text: true # Display the comment name next to the button
|
||||||
load_begin: false # The second comment system will auto load when visiting the website
|
load_begin: false # The second comment system will auto load when visiting the website
|
||||||
count: false # Dispaly comment count in top_img
|
count: false # Display comment count in top_img
|
||||||
|
|
||||||
# disqus
|
# disqus
|
||||||
# https://disqus.com/
|
# https://disqus.com/
|
||||||
@@ -363,13 +363,13 @@ gitter:
|
|||||||
# Footer Settings
|
# Footer Settings
|
||||||
# --------------------------------------
|
# --------------------------------------
|
||||||
|
|
||||||
|
footer:
|
||||||
|
owner: # 顯示站長信息
|
||||||
|
enable: true
|
||||||
since: 2020
|
since: 2020
|
||||||
|
custom_text: Hi, welcome to my blog! # 頁腳自定義文本
|
||||||
footer_custom_text:
|
copyright: true # 顯示框架及主題作者信息
|
||||||
|
ICP: # 備案信息
|
||||||
footer_copyright: true
|
|
||||||
|
|
||||||
ICP:
|
|
||||||
enable: false
|
enable: false
|
||||||
url:
|
url:
|
||||||
text:
|
text:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ sidebar:
|
|||||||
have_read: You've read
|
have_read: You've read
|
||||||
|
|
||||||
footer:
|
footer:
|
||||||
driven: Driven
|
framework: Framework
|
||||||
theme: Theme
|
theme: Theme
|
||||||
|
|
||||||
copy:
|
copy:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ sidebar:
|
|||||||
have_read: You've read
|
have_read: You've read
|
||||||
|
|
||||||
footer:
|
footer:
|
||||||
driven: Driven
|
framework: Framework
|
||||||
theme: Theme
|
theme: Theme
|
||||||
|
|
||||||
copy:
|
copy:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ sidebar:
|
|||||||
have_read: 你已经读了
|
have_read: 你已经读了
|
||||||
|
|
||||||
footer:
|
footer:
|
||||||
driven: 驱动
|
framework: 框架
|
||||||
theme: 主题
|
theme: 主题
|
||||||
|
|
||||||
copy:
|
copy:
|
||||||
@@ -39,13 +39,13 @@ post:
|
|||||||
search: 搜索
|
search: 搜索
|
||||||
algolia_search:
|
algolia_search:
|
||||||
input_placeholder: 搜索文章
|
input_placeholder: 搜索文章
|
||||||
hits_empty: '找不到您查询的内容:${query}'
|
hits_empty: '找不到您查询的内容:${query}'
|
||||||
hits_stats: '找到 ${hits} 条结果,用时 ${time} 毫秒'
|
hits_stats: '找到 ${hits} 条结果,用时 ${time} 毫秒'
|
||||||
|
|
||||||
local_search:
|
local_search:
|
||||||
label: 本地搜索
|
label: 本地搜索
|
||||||
input_placeholder: 搜索文章
|
input_placeholder: 搜索文章
|
||||||
hits_empty: '找不到您查询的内容:${query}'
|
hits_empty: '找不到您查询的内容:${query}'
|
||||||
powered: '提供支持'
|
powered: '提供支持'
|
||||||
by: 由
|
by: 由
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ sidebar:
|
|||||||
have_read: 你已經讀了
|
have_read: 你已經讀了
|
||||||
|
|
||||||
footer:
|
footer:
|
||||||
driven: Power by
|
framework: 框架
|
||||||
theme: Theme
|
theme: 主題
|
||||||
|
|
||||||
copy:
|
copy:
|
||||||
success: 複製成功
|
success: 複製成功
|
||||||
@@ -39,13 +39,13 @@ post:
|
|||||||
search: 搜尋
|
search: 搜尋
|
||||||
algolia_search:
|
algolia_search:
|
||||||
input_placeholder: 搜尋文章
|
input_placeholder: 搜尋文章
|
||||||
hits_empty: '找不到您查詢的內容:${query}'
|
hits_empty: '找不到您查詢的內容:${query}'
|
||||||
hits_stats: '找到 ${hits} 條結果,用時 ${time} 毫秒'
|
hits_stats: '找到 ${hits} 條結果,用時 ${time} 毫秒'
|
||||||
|
|
||||||
local_search:
|
local_search:
|
||||||
label: 本地搜尋
|
label: 本地搜尋
|
||||||
input_placeholder: 搜尋文章
|
input_placeholder: 搜尋文章
|
||||||
hits_empty: '找不到您查詢的內容:${query}'
|
hits_empty: '找不到您查詢的內容:${query}'
|
||||||
powered: '提供支援'
|
powered: '提供支援'
|
||||||
by: 由
|
by: 由
|
||||||
|
|
||||||
|
|||||||
@@ -1,24 +1,25 @@
|
|||||||
#footer-wrap
|
#footer-wrap
|
||||||
|
if theme.footer.owner.enable
|
||||||
- var now = new Date()
|
- var now = new Date()
|
||||||
- var nowYear = now.getFullYear()
|
- var nowYear = now.getFullYear()
|
||||||
if theme.since && theme.since != nowYear
|
if theme.footer.owner.since && theme.footer.owner.since != nowYear
|
||||||
.copyright!= `©${theme.since} - ${nowYear} By ${config.author}`
|
.copyright!= `©${theme.footer.owner.since} - ${nowYear} By ${config.author}`
|
||||||
else
|
else
|
||||||
.copyright!= `©${nowYear} By ${config.author}`
|
.copyright!= `©${nowYear} By ${config.author}`
|
||||||
if theme.footer_copyright
|
if theme.footer.copyright
|
||||||
.framework-info
|
.framework-info
|
||||||
span= _p('footer.driven') + ' '
|
span= _p('footer.framework') + ' '
|
||||||
a(href='https://hexo.io')
|
a(href='https://hexo.io')
|
||||||
span Hexo
|
span Hexo
|
||||||
span.footer-separator |
|
span.footer-separator |
|
||||||
span= _p('footer.theme') + ' '
|
span= _p('footer.theme') + ' '
|
||||||
a(href='https://github.com/jerryc127/hexo-theme-butterfly')
|
a(href='https://github.com/jerryc127/hexo-theme-butterfly')
|
||||||
span Butterfly
|
span Butterfly
|
||||||
if theme.footer_custom_text
|
if theme.footer.custom_text
|
||||||
.footer_custom_text!=`${theme.footer_custom_text}`
|
.footer.custom_text!=`${theme.footer.custom_text}`
|
||||||
if theme.ICP.enable
|
if theme.footer.ICP.enable
|
||||||
.icp
|
.icp
|
||||||
a(href=theme.ICP.url)
|
a(href=theme.footer.ICP.url)
|
||||||
if theme.ICP.icon
|
if theme.footer.ICP.icon
|
||||||
img.icp-icon(src=url_for(theme.ICP.icon))
|
img.icp-icon(src=url_for(theme.footer.ICP.icon))
|
||||||
span=theme.ICP.text
|
span=theme.footer.ICP.text
|
||||||
Reference in New Issue
Block a user