Skip to content

shenqihui/hexo-theme-pithy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pithy

A new theme for Hexo.

主题诞生记(中文的)

Design idea

What i want:

  • fast
  • tidy
  • pithy
  • responsive

how

  • No script(except disqus comment and google analytics lisk), just use effective css. So first paint vaaaaaary fast.
  • Responsive design, as it's no script, so no navbar-collapse here.
    • Due way: use navbar overflow hidden. Hidden the overflow element.
    • Instead: add a link page to show all other link and ensure it won't be hidden.
    • add page: hexo new page 'link'
  • One css file.
  • No i18n problem, nothing another if not manual add. It's very pithy.

Preview

Preview, and this is my blog.

Desktop: desktop Desktop archive page: desktop pad: pad phone: phone

Installation

Install

$ git clone https://github.com/shenqihui/hexo-theme-pithy.git themes/pithy

Enable

Modify theme setting in _config.yml to pithy.

add plugin for hexo:

npm install hexo-renderer-jade --save
npm install hexo-renderer-less --save

Update

cd themes/pithy
git pull

Hexo Configuration

here is what must define in hexo's config file _config.yml, not the theme's config.

  • date_format
  • title

Theme Configuration

# Header
menu:
  Home: /
  Archives: /archives
  Link: /link
  About: /about
  Rss: /atom.xml

rss: /atom.xml

# less config
less:
  paths:
    - css/app.less

# Miscellaneous
google_analytics:
baidu_analytics:
favicon: /favicon.ico
twitter:
google_plus:
fb_admins:
fb_app_id:

# footer word
footer_word: word show at footer.

# page excerpt
excerpt:
  enable: true
  length: 100

# tagcloud, in developing, just use default.
tagcloud:
  start_color: '#777777'
  end_color: '#111111'

About

Pithy! A new hexo theme. No script. Pure css.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published