Fact is a simple but powerful theme for Hexo. It comes with integration of tags, categories, archive and table-of-contents. The style design is inspired by V2EX.
I assume you already have a Hexo blog initialized.
cd <path-to-hexo-folder>/themes
git clone https://github.com/artchen/hexo-theme-fact.git fact
Don't forget to modify _config.yml
under root directory of Hexo blog. Change theme to Fact.
theme: fact
Some configuration can be found in _config.yml
under the themes/fact
directory.
cd <path-to-hexo-folder>/themes/fact
git pull
I used Futura for text, and Inconsolata for source code. Both of them are hosted on Typekit.
If you do not use Typekit, here are the necessary steps to switch to other services:
- In
layout/_partial/head.ejs
, delete the lines that include the typekit library, then include necessary files from your choice of web fonts (eg: Google Font). - In
source/css/_sass/style.scss
, change the font macros to your choices.