Butterfly主题魔改
Hexo 基础搭建 参考 Hello World 可快速搭建Hexo框架的博客和发布文章 应用主题 Butterflyyarn 拉取依赖 启用主题12yarn add hexo-theme-butterfly # 安装 butterfly 主题yarn add hexo-renderer-pug hexo-renderer-stylus # 安装 pug 以及 stylus 的渲染器 在根目录下的_config.yml中配置主题 1themes: butterfly 在博客根目录中创建 _config.butterfly.yml 这里先说明一下怎么引入创建的css或者js(在博客根目录source中选择性新建_datacssjsimg)打开_config.butterfly.yml 文件,找到 Inject 部分,这里以 custom.css 和 title.js 为例,注意这两个都为本地文件,在线网址也一样,更改 href= 和 src= 里面的内容就行 1234567inject: head: # - <link rel="styleshee...
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 post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment





