Skip to content

Yet another Hexo theme tend to be simple and elegant.

License

Notifications You must be signed in to change notification settings

haodave/hexo-theme-primitive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-theme-primitive

Yet another Hexo theme tend to be simple and elegant. Based on hexo-theme-gandalfr.

Features

  • Built-in Code highlight support.
  • Built-in hexo-tag-cloud support.
  • More comfortable with large screens.

Live Demo

See the Demo.

How to Install

# cd to your hexo dir
npm install
npm install --save hexo-renderer-pug hexo-generator-feed hexo-generator-sitemap hexo-browsersync hexo-generator-archive hexo-tag-cloud
git submodule add https://github.com/haodave/hexo-theme-primitive themes/primitive
mkdir -p src/_data
cp themes/primitive/_config.yml.example src/_data/primitive.yml
# modify the config file

Enable the Theme

Modify _config.yml to change the theme:

theme: primitive

Change the Code Style

modify _config.yml to change the codestyle block:

# Styles shoule be found in the list: https://highlightjs.org/static/demo/
# use the lowercase letters and replace space with -
codestyle: solarized-light

Update to the newest version

# cd to your hexo dir
git submodule update

Thanks

License

See @LICENSE

TODO

See @TODO.md

About

Yet another Hexo theme tend to be simple and elegant.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • SCSS 51.7%
  • Pug 46.5%
  • JavaScript 1.8%