theme for Hexo.
$ git clone https://github.com/mango-tree/hexo-theme-mango.git themes/mango
Mango requires Hexo 2.4 and above. If you would like to enable the RSS, the hexo-generate-feed plugin is also required.
Modify theme
setting in _config.yml
to mango
.
cd themes/mango
git pull
# Header
menu:
Home: /
Archives: /archives
rss: /atom.xml
# Content
excerpt_link: Read More
fancybox: true
# Sidebar
sidebar: right
widgets:
- category
- tag
- tagcloud
- archives
- recent_posts
# Miscellaneous
google_analytics:
favicon: /favicon.png
twitter:
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
orfalse
. - widgets - Widgets displaying in sidebar
- google_analytics - Google Analytics ID
- favicon - Favicon path
- twitter - Twiiter ID
- google_plus - Google+ ID
Mango uses Fancybox to showcase your photos. You can use Markdown syntax or fancybox tag plugin to add your photos.
![img caption](img url)
{% fancybox img_url [img_thumbnail] [img_caption] %}
- Grunt 0.4+
- Hexo 2.4+
- default - Download Fancybox and Font Awesome.
- fontawesome - Only download Font Awesome.
- fancybox - Only download Fancybox.
- clean - Clean temporarily files and downloaded files.