A reponsive theme for hexo, inspired by Twenty Fifteen Wordpress theme.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

hexo-theme-twentyfifteen-wordpress

Summary

This is a responsive hexo theme inspired by a very popular wordpress theme called twentyfifeen. Compared with the original theme, I did many enhancements to make it more lightweight and added more custom features like content UI changes, more supports for chinese.

Online Demo

image

Features

  • Responsive Design - From smartphone, tablet, laptop, to desktop computer.
  • Lightweight - Minimized the resources and layout.
  • multiple languages - english, 简体, 繁體
  • Highlight - code highlight.
  • Comments - Disqus, duoshuo, changyuan and so on.
  • Analytics - Google, Baidu Analytics.
  • Visit count - Leancloud visit counter.
  • Custom Single Page - Easy to add pages like "About".
  • Lazy-load image - a hexo-lazyload-image plugin created by me to support it.

Configuration (_config.yml)

# ===========================================
# Site Settings
# ===========================================
# Header
site_title: Troy's Blog
site_description: Focus on Web Development and live in ChengDu. Happy Coding, Happy Life!
menu:
  Home: /
  Archives: /archives
  AboutMe: /about
# display widgets
widgets:
- archives
- search
#- social_links
- recent_posts
- tagcloud

# widget behavior
archive_type: 'monthly'
show_count: true
# Content
excerpt_link: Read More
# favico 
favicon:

# ===========================================
# Miscellaneous Settings
# ===========================================
# Baidu Analytics
baidu_analytics: 
# Google Analytics
google_analytics: 
# Disqus
disqus:
  enable: false
  shortname: 
  count: true
# changyan
changyan:
  enable: false
  appid:
  appkey:
# duoshuo
duoshuo:
  enable: true
  shortname: 
# Visitors
leancloud_visitors:
  enable: true
  app_id: 
  app_key: 

TODO: put search result into a single page.

Github is used for programmer social, right? So, any advices would be welcome.

Enjoy it!