A theme for Hexo.
$ git clone https://github.com/tracy626/hexo-theme-pompon.git themes/pompon
Pompon requires Hexo 2.4 and above.
Modify theme
setting in _config.yml
to pompon
.
cd themes/pompon
git pull
# Header
menu:
主页: /
分类: /categories
标签: /tags
关于: /about
rss: /atom.xml
# Content
excerpt_link: Read More
fancybox: true
# Sidebar
sidebar: right
widgets:
- category
- tag
- tagcloud
- archive
- recent_posts
# display widgets at the bottom of index pages (pagination == 2)
index_widgets:
# - category
# - tagcloud
# - archive
# widget behavior
archive_type: 'monthly'
show_count: false
# Miscellaneous
google_analytics:
favicon: /favicon.ico
twitter:
google_plus:
fb_admins:
fb_app_id:
duoshuo_shortname:
weibo:
bilibili:
- 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
- duoshuo_shortname - Duoshuo ID
- weibo - link to weibo
- bilibili - link to bilibili
Landscape 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] %}
You can put your sidebar in left side, right side or bottom of your site by editing sidebar
setting.
Landscape 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.
- 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.