Hexo Theme SinGO
一个基于hexo-theme-material-flow重做修改的主题
(2022-07-19:hexo-theme-shana原主题手机访问有BUG,所以换成了hexo-theme-material-flow)
与hexo-theme-material-flow相比:
1.添加背景(由LoliAPI提供的 随机调用二次元图片API)
2.由于原先的主题没有pjax,所以我添加了pjax
3.保留了之前SinGO主题的风格
4.添加Waline、Gitalk、Twikoo、Discuss评论
1
| 2022-07-20:由于Waline手机访问有BUG,所以将其去掉,如果有解决方法,欢迎跟我PR!
|
5.添加网页在线聊天系统
6.添加不蒜子计数器
7.添加网站天气预报
8.添加网页播放音乐
9.添加萌ICP备案(PS:仅提供萌站长交流!不是真正的中国备案!)
效果展示
使用教程
1.安装主题
1 2 3 4 5 6
| git clone https://github.com/StarWEB890/hexo-theme-singo.git themes/singo
git clone https://hub.fastgit.xyz/StarWEB890/hexo-theme-singo.git themes/singo
git clone https://github.91chi.fun/https://github.com/StarWEB890/hexo-theme-singo.git themes/singo
|
2.安装插件
1 2 3 4 5
| npm i -S hexo-generator-search hexo-generator-feed hexo-renderer-less hexo-autoprefixer hexo-generator-json-content
cnpm i -S hexo-generator-search hexo-generator-feed hexo-renderer-less hexo-autoprefixer hexo-generator-json-content
|
3.同时将themes/singo/_source/的tags、categories和search文件夹拷贝到hexo根目录下的source文件夹下
4.修改根目录下的_config.yml
①修改theme为singo
②在末尾添加:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
| avatar: /images/avatar.jpg
plugins: hexo-generate-feed
search: path: search.xml field: post
autoprefixer: exclude: - '*.min.css'
jsonContent: meta: false keywords: false pages: title: true slug: false date: false updated: false comments: false path: false link: false permalink: true excerpt: false keywords: false text: true raw: false content: false posts: title: true slug: false date: false updated: false comments: false path: false link: false permalink: true excerpt: false keywords: false text: true raw: false content: false categories: false tags: false
feed: type: atom path: atom.xml limit: 20 hub: content:
|
更新
1 2
| cd themes/singo git pull origin master
|
更新日志
点我查看 or 加入Q群:623816093