mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 06:22:00 +08:00
Merge branch 'dev' into master
This commit is contained in:
commit
24cf0a11e6
5 files changed
+6
-3
No files matched your search
@@ -336,6 +336,7 @@ facebook_comments:
|
||||
# https://github.com/imaegoo/twikoo
|
||||
twikoo:
|
||||
envId:
|
||||
region:
|
||||
option:
|
||||
|
||||
# Chat Services
|
||||
|
||||
+2
-1
@@ -5,8 +5,9 @@ script.
|
||||
const $countDom = document.getElementById('twikoo-count')
|
||||
const init = () => {
|
||||
let initData = {
|
||||
el: '#twikoo-wrap',
|
||||
envId: '!{theme.twikoo.envId}',
|
||||
el: '#twikoo-wrap'
|
||||
region: '!{theme.twikoo.region}'
|
||||
}
|
||||
|
||||
if (!{Boolean(option)}) {
|
||||
|
||||
@@ -17,6 +17,7 @@ script.
|
||||
const runTwikoo = () => {
|
||||
twikoo.getRecentComments({
|
||||
envId: '!{theme.twikoo.envId}',
|
||||
region: '!{theme.twikoo.region}',
|
||||
pageSize: !{theme.newest_comments.limit},
|
||||
includeReply: true
|
||||
}).then(function (res) {
|
||||
|
||||
Loaded 3 of 5 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user