注册
https://github.com/settings/applications/new
在Authorization callback URL填写自己的网站
记录下来Client ID 和 Client Secret
在themes/next/_config.yml进行配置
1 | enable: true |
解决中文问题
1 | npm install hexo-abbrlink --save |
站点配置文件里:
1 | permalink: post/:abbrlink.html |
博客
https://github.com/settings/applications/new
在Authorization callback URL填写自己的网站
记录下来Client ID 和 Client Secret
1 | enable: true |
1 | npm install hexo-abbrlink --save |
站点配置文件里:
1 | permalink: post/:abbrlink.html |