hexo主题next
安装
git clone https://github.com/iissnan/hexo-theme-next themes/next
修改主题为Gemini
scheme: Gemini
menu菜单
1 | menu: |
1 | menu_settings: |
启用tags和categories后,需要增加页面
1 | hexo new page "tags" |
进入source目录下新建的tags,categories目录,修改index.md,增加type
1 | --- |
设置文章摘要
默认开启: excerpt_description: true
在文章需要截断的地方加上 <!--more-->
,首页就只会显示其之上的内容。
开启搜索功能
$ npm install hexo-generator-searchdb
根目录*_config.yml*文件增加如下:
1 | search: |
Local Search
Dependencies: https://github.com/next-theme/hexo-generator-searchdb
local_search:
enable: true