diff --git a/_config.yml b/_config.yml index 13ea9cda..6bdffa7d 100644 --- a/_config.yml +++ b/_config.yml @@ -105,9 +105,9 @@ gitalk: autoExpand: true clientID: '' clientSecret: '' - repo: 'dev-blog-comments' - owner: 'TriDiamond' - admin: ['TriDiamond'] + repo: '' ## dev-blo-comments + owner: '' ## owner name + admin: [''] ## ['admin_name'] id: uid language: en distractionFreeMode: true @@ -127,9 +127,18 @@ valine: avatarForce: false meta: ['nick', 'mail'] requiredFields: [] - admin: 'TriDiamond' + admin: '' # admin username recentComment: true +# Twikoo comment plugin +# see https://twikoo.js.org/quick-start.html +twikoo: + enable: false + recentComment: true + envId: xxxxxxxxxxxxxxx # 腾讯云环境填 envId;Vercel 环境填地址(https://xxx.vercel.app) + # region: ap-guangzhou # 环境地域,默认为 ap-shanghai,腾讯云环境填 ap-shanghai 或 ap-guangzhou;Vercel 环境不填 + lang: 'en' # 用于手动设定评论区语言,支持的语言列表 https://github.com/imaegoo/twikoo/blob/main/src/client/utils/i18n/index.js + # Enable Busuanzi statistic plugin # see http://ibruce.info/2015/04/04/busuanzi/ busuanzi: diff --git a/release.config.js b/release.config.js index ced6d214..b403adbd 100644 --- a/release.config.js +++ b/release.config.js @@ -1,11 +1,5 @@ module.exports = { - branches: [ - 'main', - { - name: 'beta', - prerelease: true - } - ], + branches: ['main'], plugins: [ '@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', diff --git a/src/components/Comment.vue b/src/components/Comment.vue index 7369cd20..05d92554 100644 --- a/src/components/Comment.vue +++ b/src/components/Comment.vue @@ -5,27 +5,18 @@
+
+