这是一个深色主题,如梦幻般的星空,群星闪烁。
git clone https://github.com/fan-lv/Fan.git themes/Fan
修改位于博客根目录下的_config.yml内的theme选项值为Fan
cd themes/Fan
git pull
- hexo-renderer-jade
- hexo-renderer-stylus
- 如果报错 appId undefined,需要把 themes->_config.yml 中 algolia_search:enable 改成 false
支持文章置顶功能,在需要置顶的文章(Markdown 文件)加入 top: 1,数值越大越靠前。
如:
title: xxx
author: xxx
tags:
- xxx
categories:
- xxx
date: xxx
top: 1
目前支持 Gitment 评论。
使用方法:
- 在 config 文件中加入以下代码
comments: gitment: owner: 'Your GitHub ID' repo: 'The repository to store your comments. Make sure you're repo's owner' client_id: 'GitHub client ID' client_secret: 'GitHub client secret' - themes->_config.yml 中可以开启或关闭 comments
# 评论 comments: enable: true