项目作者: chrisjlee

项目描述 :
Simple plain Zurb foundation theme for the static site generator hexo.js
高级语言: JavaScript
项目地址: git://github.com/chrisjlee/hexo-theme-zurb-foundation.git
创建时间: 2015-05-05T04:16:18Z
项目社区:https://github.com/chrisjlee/hexo-theme-zurb-foundation

开源协议:MIT License

下载


Zurb Foundation

A brand new default theme for [Hexo]. This theme is Work in progress. It utilizes Zurb Foundation 5+.

Installation

Install

  1. $ git clone https://github.com/chrisjlee/hexo-theme-zurb-foundation.git

Landscape requires Hexo 3.0 and above.

Enable

Modify theme setting in _config.yml to zurb-foundation.

Update

  1. cd themes/zurb-foundation
  2. git pull

Configuration

  1. # Header
  2. menu:
  3. Home: /
  4. Archives: /archives
  5. rss: /atom.xml
  6. # Content
  7. excerpt_link: Read More
  8. fancybox: true
  9. # Sidebar
  10. sidebar: right
  11. widgets:
  12. - category
  13. - tag
  14. - tagcloud
  15. - archives
  16. - recent_posts
  17. # Miscellaneous
  18. google_analytics:
  19. favicon: /favicon.png
  20. twitter:
  21. google_plus:
  • menu - Navigation menu
  • rss - RSS link
  • excerpt_link - “Read More” link at the bottom of excerpted articles. false to hide the link.
  • fancybox - Enable [Fancybox]
  • sidebar - Sidebar style. You can choose left, right, bottom or false.
  • widgets - Widgets displaying in sidebar
  • google_analytics - Google Analytics ID
  • favicon - Favicon path
  • twitter - Twiiter ID
  • google_plus - Google+ ID

Layouts

Foundation provides 5 built-in widgets:

  • category
  • tag
  • tagcloud
  • archives
  • recent_posts

All of them are enabled by default. You can edit them in widget setting.

Development

Go ahead and use browser sync:

  1. browser-sync start --server='../../public' --files="public/*.html,public/*.css"

In order to get started with hexo use gulp.

  1. hexo generate --watch

Requirements

  • [Grunt] 0.4+
  • Hexo 3.0+