This commit is contained in:
Jerry
2022-02-19 00:43:57 +08:00
2 changed files with 3 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ social:
# fas fa-envelope: mailto:xxxxxx@gmail.com || Email # fas fa-envelope: mailto:xxxxxx@gmail.com || Email
# search (搜索) # search (搜索)
# see https://butterfly.js.org/posts/ceeb73f/#搜索系統
# -------------------------------------- # --------------------------------------
# Algolia search # Algolia search
@@ -148,6 +149,7 @@ post_meta:
label: true # true or false 顯示描述性文字 label: true # true or false 顯示描述性文字
# wordcount (字數統計) # wordcount (字數統計)
# see https://butterfly.js.org/posts/ceeb73f/#字數統計
wordcount: wordcount:
enable: false enable: false
post_wordcount: true post_wordcount: true

View File

@@ -9,7 +9,7 @@ script.
envId: '!{envId}', envId: '!{envId}',
region: '!{region}', region: '!{region}',
onCommentLoaded: function () { onCommentLoaded: function () {
btf.loadLightbox(document.querySelectorAll('#twikoo .tk-content img:not(.vemoji)')) btf.loadLightbox(document.querySelectorAll('#twikoo .tk-content img:not(.tk-owo-emotion)'))
} }
}, !{JSON.stringify(option)})) }, !{JSON.stringify(option)}))
} }