Litreily / hexo-theme-snark

An hexo theme with lofter style
https://www.litreily.top
MIT License
73 stars 13 forks source link
blog hexo-theme lofter-style pug snark-hexo theme

hexo-theme-snark

An hexo theme with lofter style, it's very simple and cool!

Features

Installation

git clone https://github.com/litreily/hexo-theme-snark.git themes/snark
npm install hexo-renderer-pug --save
npm install hexo-renderer-sass --save

then disable default highlight in blog/_config.yml

highlight:
  enable: false
  line_number: false
  auto_detect: false
  tab_replace:

Add General Pages

For beginner of hexo, you may need to know how to create general pages like archives, categories, tags and so on. If you already know that, please skip this step.

hexo new page archives
hexo new page categories
hexo new page tags
hexo new page about

Running above commands and you will get result as below (hidden something not related).

$ tree -L 2 source
source
├── _posts
├── about
│   └── index.md
├── archives
│   └── index.md
├── categories
│   └── index.md
├── index.md
└── tags
    └── index.md

Optional

You may need install some hexo plugins as below

You can add your customized css to source/css/customize.scss, then it will be load to head of blog

Comment System