Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zodiacg/hexo-theme-rebiture

A hexo theme
https://github.com/zodiacg/hexo-theme-rebiture

Last synced: 3 months ago
JSON representation

A hexo theme

Awesome Lists containing this project

README

        

# hexo-theme-rebiture

## Introduction

A Swig-rewritten version of [Biture theme](http://github.com/kywk/hexo-theme-biture) with several small modifications. The theme is also optimised for usage in mainland China.

The code of theme is inspired by [Next](http://github.com/iissnan/hexo-theme-next) in many ways. Thanks a lot.

Biture is a single column, widget-less minimalist theme for [Hexo](http://hexo.io), based on [Pure](http://purecss.io/) css framework.

Preview: [zodiacg](http://zodiacg.net)

## Features

- Support Duoshuo or Disqus comment system.
- Support Google Universal Analytics and Baidu Analytics.
- Place your custom html code in _custom directory.

## Installation

### Install

``` bash
$ git clone https://github.com/zodiacg/hexo-theme-rebiture.git themes/rebiture
```

### Enable

Modify `theme` setting in `_config.yml` to `rebiture`.

### Update

Backup your _config.yml and _custom directory first.

``` bash
cd themes/rebiture
git pull
```

## Configuration

### _config.yml file

``` yml
# Header
menu:
home: /
dropdown menu:
google: //google.com/
yahoo: //yahoo.com/

extmenu:
github:
kywk: //github.com/kywk/
zodiacg: //github.com/zodiacg/
hexo: //zespia.tw/hexo/
theme:
biture: //github.com/kywk/hexo-theme-biture
rebiture: //github.com/zodiacg/hexo-theme-rebiture
landscape: //github.com/tommy351/hexo-theme-landscape
light: //github.com/tommy351/hexo-theme-light

# Content
excerpt_link: Read More

fancybox: true

since: 2008
```

- **menu** - Main navigation menu, dropdown menu supported.
- **extment** - Extend menu at the right hand side, dropdown menu supported too.
- **excerpt_link** - "Read More" link at the bottom of excerpted articles. `false` to hide the link.
- **fancybox** - KEEP IT 'true'
- **since** - Year when the site established.

Please config analytics system or comment system in site config file.

### _custom directory

There is a **_custom** directory in **layout** with two files under it.
Code in these two files (HTML or Swig) will be insert into every page of the site automaticly.

- **custom_head.swig** will be placed right before ``````
- **custom_footer.swig** will be placed right before ```