A mirror of https://github.com/MilesPong/hexo-theme-icarus.git
|
9 lat temu | |
---|---|---|
_source | 9 lat temu | |
languages | 9 lat temu | |
layout | 9 lat temu | |
scripts | 10 lat temu | |
source | 9 lat temu | |
.editorconfig | 10 lat temu | |
.gitignore | 10 lat temu | |
Gruntfile.js | 10 lat temu | |
LICENSE | 10 lat temu | |
README.md | 9 lat temu | |
_config.yml.example | 9 lat temu | |
_config.yml.site.example | 9 lat temu | |
package.json | 10 lat temu |
#Icarus
$ git clone https://github.com/ppoffice/hexo-theme-icarus.git themes/icarus
Icarus requires Hexo 3.0 and above.
themes\icarus\_config.yml.example
to themes\icarus\_config.yml
;themes\icarus\_config.yml.site.example
to your hexo blog's root directory and rename it to _config.yml
;themes\icarus\_source\*
into your hexo blog's directory source
;theme
setting in _config.yml
to icarus
.cd themes/icarus
git pull
# Header
menu:
Home: .
Archives: archives
Categories: categories # you need to add extra page to enable this, please see the config below.
Tags: tags # you need to add extra page to enable this, please see the config below.
About: about
# Content
excerpt_link: Read More
fancybox: true
# Sidebar
sidebar: right
widgets:
- recent_posts
- category
- tag
- tagcloud
- archive
thumbnail: true
# Contacts
contacts:
github: http://github.com/ppoffice/hexo-theme-icarus
twitter: '#'
facebook: '#'
dribbble: '#'
rss: atom.xml
# Links
links:
Hexo: http://hexo.io
# Miscellaneous
google_analytics:
favicon: favicon.png
twitter:
google_plus:
fb_admins:
fb_app_id:
<!-- more -->
tag to show only part of the article in index pages.# Site
title: Icarus
subtitle:
description: Hexo theme - Icarus
author: PPOffice
author_title: 'Web Developer & Designer'
avatar: css/images/avatar.png
location: 'Harbin, China'
language: en
timezone:
...
# Disqus
disqus_shortname:
You can add a thumbnail and a banner to each post by adding the following lines into your post source files' front-matter:
title: Demo
date: 2015-01-01
...
# add those
thumbnail: http://example.com/thumbnail.jpg
banner: http://example.com/banner.jpg
To enable custom categories page and tags page, just copy the categories
folder and tags
folder under your theme's _source
foler into your site's source
folder. Then edit theme's _config.yml and add the following lines:
# Header
menu:
...
Categories: categories # -> add this line
Tags: tags # -> and add this line
...
English and Simplified Chinese are the default languages of the theme. You can add translations in the languages
folder and change the default language in blog's _config.yml
.
language: zh-CN
A nice place to show yourself. You can add your own information in your site's _config.yml
Thanks to atika, you can now add thumbnails and banners to every post to create better reading experience.
Icarus knows on what screen size you are browsering the website, and reorganize the layout to fit your device.
Get your categories and tags listed in single pages to make your blog more methodic.
Icarus uses Fancybox to showcase your photos. You can use Markdown syntax or fancybox tag plugin to add your photos.

Icarus provides 6 built-in widgets:
All of them are enabled by default. You can edit them in widget
setting.