hexo butterfly 公祭日css黑白
配置_config.butterfly.yml相应位置修改
inject: head: - <link rel="stylesheet" href="https://iiiii.cf/css/huise.css">
源码html { /* filter: gray 灰度的滤镜 */ filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); /* Chrome 和 Safari 灰度的滤镜 */ -webkit-filter: grayscale(100%);}/* 滚动条颜色 */*::-webkit-scrollbar-thumb { background: #1f1f1f;}
Hexo Butterfly 水波纹特效
特效样例https://iiiii.cf
https://sirxemic.github.io/jquery.ripples/
http://home.ustc.edu.cn/~pscgylotti/blogs/
特效插件https://github.com/sirxemic/jquery.ripples
Butterfly测试版本butterfly v3.4.0
_config.butterfly.yml对应位置修改
inject: head: bottom: - <script defer src="https://rmt.dogedoge.com/fetch/~/source/jsdelivr/npm/jquery@latest/dist/jquery.min.js"></script> - <script defer src="https://iiiii.cf/js/jquery.ripples.js"></script> - <script defer src= ...
SEO
站点地图https://github.com/hexojs/hexo-generator-sitemap
npm i hexo-generator-sitemap
推送安装https://github.com/cjh0613/hexo-submit-urls-to-search-engine
npm i hexo-submit-urls-to-search-engine
预先配置_config.yml的url: http://example.com改成下面
url: https://iiiii.cf
_config.yml里填以下代码
hexo_submit_urls_to_search_engine: submit_condition: count #链接被提交的条件,可选值:count | period 现仅支持count count: 10 # 提交最新的10个链接 period: 900 # 提交修改时间在 900 秒内的链接 google: 0 # 是否向Google提交,可选值:1 | 0(0:否;1:是) bing: 1 # 是否向bi ...
2020 hexo butterfly 上手记录
初始化https://github.com/hexojs/hexo
https://github.com/jerryc127/hexo-theme-butterfly
hexo init blog && cd blog && npm un hexo-theme-landscape && npm i hexo-theme-butterfly hexo-renderer-pug
hexo配置https://hexo.io/zh-cn/docs/configuration
_config.yml的theme: landscape改成下面
theme: butterfly
_config.yml的language: en改成下面
language: zh-CN
预览hexo cl && hexo s
http://localhost:4000/
butterfly主题配置https://butterfly.js.org/
_config.landscape.yml改成_config.butterfly.yml
# Main ...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post$ hexo new "My New Post"
More info: Writing
Run server$ hexo server
More info: Server
Generate static files$ hexo generate
More info: Generating
Deploy to remote sites$ hexo deploy
More info: Deployment