label 3.8.0

This commit is contained in:
Jerry committed 2021-07-04 18:40:01 +08:00
commit 7b520c62f6
40 files changed
+320 -265

No files matched your search

+3 -12
View File
@@ -274,6 +274,7 @@ comments:
# https://disqus.com/ # https://disqus.com/
disqus: disqus:
shortname: shortname:
apikey: # For newest comments widget
# Alternative Disqus - Render comments with Disqus API # Alternative Disqus - Render comments with Disqus API
# DisqusJS 評論系統,可以實現在網路審查地區載入 Disqus 評論列表,兼容原版 # DisqusJS 評論系統,可以實現在網路審查地區載入 Disqus 評論列表,兼容原版
@@ -331,6 +332,7 @@ valine:
waline: waline:
serverURL: # Waline server address url serverURL: # Waline server address url
avatar: monsterid # gravatar style https://zh-tw.gravatar.com/site/implement/images/#default-image avatar: monsterid # gravatar style https://zh-tw.gravatar.com/site/implement/images/#default-image
avatarCDN: # Gravatar CDN baseURL
bg: # waline background bg: # waline background
visitor: false visitor: false
option: option:
@@ -693,17 +695,6 @@ newest_comments:
limit: 6 limit: 6
storage: 10 # unit: mins, save data to localStorage storage: 10 # unit: mins, save data to localStorage
avatar: true avatar: true
# You can only choose one, or neither
valine: false
github_issues:
enable: false
repo:
disqus:
enable: false
forum:
api_key:
twikoo: false
waline: false
# Bottom right button (右下角按鈕) # Bottom right button (右下角按鈕)
# -------------------------------------- # --------------------------------------
@@ -755,7 +746,7 @@ fancybox: true
# -------------------------------------- # --------------------------------------
# mermaid # mermaid
# see https://github.com/knsv/mermaid # see https://github.com/mermaid-js/mermaid
mermaid: mermaid:
enable: false enable: false
# built-in themes: default/forest/dark/neutral # built-in themes: default/forest/dark/neutral
+1 -1
View File
@@ -1,7 +1,7 @@
- var top_img = theme.error_404.background || theme.default_top_img - var top_img = theme.error_404.background || theme.default_top_img
- var bg_img = `background-image: url('${url_for(top_img)}')` - var bg_img = `background-image: url('${url_for(top_img)}')`
#body-wrap.error #body-wrap.error404
div(style='display: none') div(style='display: none')
include ./header/index.pug include ./header/index.pug
+1 -1
View File
@@ -1,5 +1,5 @@
- var pageTitle - var pageTitle
- if (is_archive()) pageTitle = _p('page.archives') - if (is_archive()) pageTitle = fragment_cache('findArchivesTitle', function(){return findArchivesTitle(theme.menu);})
- else if (is_tag()) pageTitle = _p('page.tag') + ': ' + page.tag - else if (is_tag()) pageTitle = _p('page.tag') + ': ' + page.tag
- else if (is_category()) pageTitle = _p('page.category') + ': ' + page.category - else if (is_category()) pageTitle = _p('page.category') + ': ' + page.category
- else if (is_month()) pageTitle += ': ' + page.month + '/' + page.year - else if (is_month()) pageTitle += ': ' + page.month + '/' + page.year
Loaded 3 of 40 files, more files were not shown because too many files have changed in this diff. Show more