A simple, delicate, and modern theme for the static site generator Hexo.
Go to file
ppoffice 34252daf17 Merge pull request #14 from atika/master
Some additionals options
2015-05-27 21:55:44 +08:00
languages Create id.yml 2015-03-24 16:42:21 +07:00
layout Sidebar thumbnail order: post.thumbnail, post.banner or post image. 2015-05-27 13:37:17 +02:00
scripts first blood! 2015-03-19 22:25:53 +08:00
source Sidebar thumbnail order: post.thumbnail, post.banner or post image. 2015-05-27 13:37:17 +02:00
.gitignore add gitignore 2015-03-20 17:32:16 +08:00
Gruntfile.js first blood! 2015-03-19 22:25:53 +08:00
LICENSE first blood! 2015-03-19 22:25:53 +08:00
README.md Update README.md 2015-03-24 09:03:02 +08:00
_config.yml.example Additional custom stylesheet option 2015-05-27 13:30:53 +02:00
_config.yml.site.example add duoshuo comment widget 2015-04-04 19:41:01 +08:00
package.json first blood! 2015-03-19 22:25:53 +08:00

README.md

#Icarus

The blog theme you may fall in love with, coming to Hexo. Preview

Installation

Install

$ git clone https://github.com/ppoffice/hexo-theme-icarus.git themes/icarus

Icarus requires Hexo 3.0 and above.

Enable

Modify theme setting in _config.yml to icarus.

Update

cd themes/icarus
git pull

Configuration

Theme configuration example

# Header
menu:
  Home: /
  Archives: /archives
  About: /about

# Content
excerpt_link: Read More
fancybox: true

# Sidebar
sidebar: right
widgets:
- recent_posts
- category
- tag
- tagcloud
- archive

# Contacts
contacts:
  github: http://github.com/ppoffice
  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:
  • fancybox - Enable Fancybox.
  • contacts - Your social network links, RSS link, etc.
  • widgets - Widgets displaying in sidebar.
  • links - Links displayed in the link widget.
  • google_analytics - Google Analytics ID.
  • favicon - Favicon path.

Site configuration example

# 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:
  • author - Your name.
  • author_title - Title to your occupation.
  • avatar - Your avatar image link.
  • location - Where you live in.
  • disqus_shortname - Your Disqus shortname.

Languages

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

Features

Profile Sidebar

A nice place to show yourself. You can add your own information in your site's _config.yml

Responsive Layout

Icarus knows on what screen size you are browsering the website, and reorganize the layout to fit your device.

Fancybox

Icarus uses Fancybox to showcase your photos. You can use Markdown syntax or fancybox tag plugin to add your photos.

![img caption](img url)

Sidebar

Icarus provides 6 built-in widgets:

  • recent_posts
  • category
  • archives
  • tag
  • tagcloud
  • links

All of them are enabled by default. You can edit them in widget setting.

Development

Requirements

Grunt tasks