Contents
Landscape-F
A theme based on Hexo‘s default theme Landscape.
Installation
Install
1 | $ git clone https://github.com/howiefh/hexo-theme-landscape-f.git themes/landscape-f
|
Landscape-F requires Hexo 2.4 and above.
Enable
Modify theme
setting in _config.yml
to landscape-f
.
Update
1 2 | cd themes/landscape-f git pull |
Configuration
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | # Header menu: Home: / Archives: /archives rss: /atom.xml github: https://github.com/howiefh # Content excerpt_link: Read More fancybox: true # Sidebar sidebar: right widgets: - about_me - category - tag - tagcloud - archive - calendar - recent_posts - duoshuo_recent_comments - links # Miscellaneous google_analytics: favicon: /favicon.ico twitter: google_plus: fb_admins: fb_app_id: # Toc toc: article: true ## show contents in article. aside: true ## show contents in aside. # Scroll to top go_top: true # duoshuo duoshuo_shortname: # baidu share baidushare: true # blogroll links: - name: 404 page link: http://yibo.iyiyun.com/js/yibo404/key/1 # about me about_me: title: ABOUT ME gravatar: a@abc.com avatar: /images/github.jpg texts: - Hi,I'm howiefh. # display updated display_updated: true |
- menu - Navigation menu
- rss - RSS link
- github - Github 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
- toc - Show toc in article or sidebar
- go_top - Go to top
- duoshuo_shortname - Duoshuo shortname
- baidushare - Show baidu share in post
- links - Links displaying in sidebar
- about_me - About me displaying in sidebar. The gravatar is your gravatar e-mail. You can choose gravatar or avatar to show your picture.
- display_updated - Display updated in article footer
Features
Fancybox
Landscape-F uses Fancybox to showcase your photos. You can use Markdown syntax or fancybox tag plugin to add your photos.
1 2 3 | ![img caption](img url) <notextile>0</notextile> |
Sidebar
You can put your sidebar in left side, right side or bottom of your site by editing sidebar
setting.
Landscape-F provides 9 built-in widgets:
- category
- tag
- tagcloud
- archive
- recent_posts
- about_me
- calendar
- duoshuo_recent_comments
- links
All of them are enabled by default. You can edit them in widget
setting.
Development
Requirements
- Grunt 0.4+
- Hexo 2.4+
Grunt tasks
- default - Download Fancybox and Font Awesome.
- fontawesome - Only download Font Awesome.
- fancybox - Only download Fancybox.
- clean - Clean temporarily files and downloaded files.