安装
官网
基本操作
hexo g生成/public 文件夹,里面是网站hexo d把这个网站文件夹推送到服务器hexo clean删除网站文件夹hexo s本地查看效果
安装主题
这里我选择用 next 主题。查看主题配置
1 | #进入项目根目录 |
安装插件
常用插件:
hexo-abbrlink 文章链接唯一化
1 | # 安装 |
hexo-wordcount 字数统计
1 | npm install hexo-wordcount --save |
1 | npm install hexo-generator-json-content --save |
1 | npm install hexo-generator-feed --save |
1 | npm install hexo-generator-sitemap --save |
1 | npm install hexo-neat --save |