James Peret 3e9c3bd4cc Hexo init | 4 lat temu | |
---|---|---|
.. | ||
languages | 4 lat temu | |
layout | 4 lat temu | |
scripts | 4 lat temu | |
source | 4 lat temu | |
.gitignore | 4 lat temu | |
Gruntfile.js | 4 lat temu | |
LICENSE | 4 lat temu | |
README.md | 4 lat temu | |
_config.yml | 4 lat temu | |
package.json | 4 lat temu |
A brand new default theme for Hexo.
$ git clone https://github.com/hexojs/hexo-theme-landscape.git themes/landscape
Landscape 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 landscape
.
cd themes/landscape
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:
false
to hide the link.left
, right
, bottom
or false
.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:
All of them are enabled by default. You can edit them in widget
setting.