/hexo-theme-lessless

the simple theme for hexo. which has no futures, just very simple.

Primary LanguageCSSMIT LicenseMIT

hexo-theme-lessless

中文 the simple theme for hexo. which has no futures, just very simple.

Usage

enter hexo folder and git clone lessless:

git clone git@github.com:zhengxiaowai/hexo-theme-lessless.git themes/lessless

extra hexo config:

npm install hexo-prism-plugin
npm install hexo-renderer-marked

copy the content below to hexo's _config.yml

prism_plugin:
  mode: 'preprocess'    # realtime/preprocess
  theme: 'default'
  line_number: false    # default false

marked:
  gfm: true
  pedantic: false
  sanitize: false
  tables: true
  breaks: true
  smartLists: true
  smartypants: true
  modifyAnchors: ''
  autolink: true

close default highlight:

highlight:
  enable: false

lessless theme config

menu

about top navs

menu:
  Home: /
  Categotry: /categories
  Archive: /archives
  # Tag: /tags 
  # About: /about 

default enable:Home、Category、Archive

busuanzi

Simple calculation for pv(uv)

busuanzi:
  enable: true

show pv and uv under home page and show pv under post's title when enable busuanzi

disqus

disqus comment config

disqus:
  enable: false
  shortname: <your_shortname>