Skip to content

artchen/hexo-theme-fact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple Hexo theme. Inspired (a lot) by V2EX.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published