LiuShen / artalk实现前端上传图片
1 likes
0 forks
1 files
Last active
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' |
1 | <!DOCTYPE html> |
2 | <html lang="en"> |
3 | <head> |
4 | <meta charset="UTF-8"> |
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | <title>局部刷新图片</title> |
7 | <style> |
8 | body { |
9 | display: flex; |
10 | justify-content: center; |
Newer
Older