LiuShen / artalk实现前端上传图片
1 likes
0 forks
1 files
Last active 6 months ago
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' |
LiuShen / Hexo-butterfly聊天记录外挂标签
1 likes
0 forks
2 files
Last active 1 year ago
基于鹊楠改进的Hexo-butterfly聊天记录外挂标签
| 1 | /** |
| 2 | * Chat |
| 3 | */ |
| 4 | |
| 5 | "use strict"; |
| 6 | |
| 7 | // 预定义头像数组 |
| 8 | const avatars = [ |
| 9 | "https://i.p-i.vip/30/20240920-66ed9a608c2cf.png", |
| 10 | "https://i.p-i.vip/30/20240920-66ed9b0655cba.png", |
Newer
Older