前言
因一次意外,hexo博客源码被删除干净,抽空重新配置hexo并重新写了之前的文章,这里把配置hexo各项功能作个记录。
hexo版本
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| λ hexo version hexo-cli: 4.2.0 os: Windows_NT 10.0.18363 win32 x64 node: 12.18.3 v8: 7.8.279.23-node.39 uv: 1.38.0 zlib: 1.2.11 brotli: 1.0.7 ares: 1.16.0 modules: 72 nghttp2: 1.41.0 napi: 6 llhttp: 2.0.4 http_parser: 2.9.3 openssl: 1.1.1g cldr: 37.0 icu: 67.1 tz: 2019c unicode: 13.0
|
安装next主题
1 2
| $ cd hexo $ git clone https://github.com/theme-next/hexo-theme-next themes/next
|
创建 “关于我” 页面
新建一个 about 页面:
菜单显示 about 链接,在主题的 _configy.yml 设置中将 menu 中 about 前面的注释去掉即可。
1 2 3 4 5
| menu: home: / archives: /archives tags: /tags about: /about
|