LiuShen / artalk实现前端上传图片
1 喜歡
0 分支
1 檔案
最後活躍
hexo-theme-butterfly中,artalk实现前端上传图片,不使用upgit(不会QAQ,如果有谁会请联系我呜呜呜)
1 | // 请使用该文件替换“[root]\themes\butterfly\layout\includes\third-party\comments\artalk.pug” |
2 | - const { server, site, option } = theme.artalk |
3 | - const { use, lazyload } = theme.comments |
4 | |
5 | script. |
6 | (() => { |
7 | let artalkItem = null |
8 | const option = !{JSON.stringify(option)} |
9 | const isShuoshuo = GLOBAL_CONFIG_SITE.pageType === 'shuoshuo' |
上一頁
下一頁