A simple Hexo theme. Inspired (a lot) by V2EX.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
layout
source
LICENSE
README.md
_config.yml
config.codekit
prepros.cfg

README.md

hexo-theme-fact

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.

Installation

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

Configuration

Some configuration can be found in _config.yml under the themes/fact directory.

Update

cd <path-to-hexo-folder>/themes/fact
git pull

Fonts

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:

  1. 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).
  2. In source/css/_sass/style.scss, change the font macros to your choices.

Screenshot

Fact Screenshot