A theme that aimed to be very simple, creatd by lotabout
Install theme and renderers:
git clone https://github.com/lotabout/very-simple themes/very-simple
npm install hexo-renderer-sass --save
npm install hexo-renderer-jade --save
Edit _config.yml
in hexo root, change theme
to very-simple
.
Default config:
# very-simple/_config.yml
menu:
Home: /
Archives: archives
social:
email:
twitter:
github:
googleplus:
rss: /atom.xml
fancybox: true
duoshuo: #duoshuo_shortname
disqus: #disqus _shortname
google_analytics: #Google Analytics Tracking Code
google_adsense_page_level_ads: #Google Adsense Page Level Ads Code
If you want to contain this theme only as a submodule, then you may be
unwilling to keep all configuration inside theme
folder(very-simple/_config.yml
). In this case, you can keep the
configurations in root configuration file /_config.yml
by:
# /_config.yml
very_simple:
menu:
Home: /
Archives: archives
social:
email:
twitter:
github:
googleplus:
rss: /atom.xml
fancybox: true
duoshuo: #duoshuo_shortname
disqus: #disqus _shortname
google_analytics: #Google Analytics Tracking Code
google_adsense_page_level_ads: #Google Adsense Page Level Ads Code
##Features
You can set a favicon.ico for your website, please put it into source
folder of hexo directory, recommended size: 32px*32px.
To customize pages, such as traditional 'About' page, follow the following steps:
create a directory about/
under /source
create a corresponding index page index.md
under directory about/
.
add link to the page to menu
configuration:
menu: About: about
Note that you don't need to add directory and create about.md
under
/source
. But the configuration should changed to:
menu:
About: about.html
You can control whether to show comment system(default to enabled) in pages.
Just add comments: true
or comments: false
in front-matter
section of
page. i.e.
title: About
date: 2013-12-26 22:52:56
layout: page
comments: true
---
You can control the abstract of a post shown at index, by:
description:
item in front-matter
of the post.md
<!--more-->
before your hidden content.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。