Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anchan828/hexo-theme-unity
https://github.com/anchan828/hexo-theme-unity
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anchan828/hexo-theme-unity
- Owner: anchan828
- License: mit
- Created: 2014-09-02T06:01:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-03T16:04:17.000Z (over 10 years ago)
- Last Synced: 2023-03-15T19:10:40.715Z (almost 2 years ago)
- Language: JavaScript
- Homepage: http://anchan828.github.io/hexo-theme-unity
- Size: 1.86 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unity
A brand new default theme for [Hexo].
- [Preview](http://anchan828.github.io/hexo-theme-unity/)
## Installation
### Install
``` bash
$ git clone https://github.com/anchan828/hexo-theme-unity.git themes/unity
```**Unity requires Hexo 2.4 and above.**
### Enable
Modify `theme` setting in `_config.yml` to `unity`.
### Update
``` bash
cd themes/unity
git pull
```## Configuration
``` yml
# Header
menu:
Archives: /archivessub_menu:
archives:
Test1: /archives/test1
Test2: /archives/test2
Test3: /archives/test3rss: /atom.xml
# Content
excerpt_link: Read More
fancybox: true# Sidebar
sidebar: right
widgets:
- category
- tag
- tagcloud
- archive
- recent_posts
- twitter_widget# Miscellaneous
google_analytics: "UA-54389737-1"
favicon: /favicon.png
twitter:
username: kyusyukeigo
widget_id: "479529444873220097"
google_plus:
fb_admins:
fb_app_id:
```- **menu** - Navigation menu
- **rss** - RSS link
- **excerpt_link** - "Read More" link at the bottom of excerpted articles. `false` to hide the link.
- **fancybox** - Enable [Fancybox]
- **sidebar** - Sidebar style. You can choose `left`, `right`, `bottom` or `false`.
- **widgets** - Widgets displaying in sidebar
- **google_analytics** - Google Analytics ID
- **favicon** - Favicon path
- **twitter** - Twiiter ID
- **google_plus** - Google+ ID## Features
### Fancybox
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] %}
```### Sidebar
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:
- category
- tag
- tagcloud
- archives
- recent_postsAll of them are enabled by default. You can edit them in `widget` setting.
## Development
### Requirements
- [Grunt] 0.4+
- Hexo 2.4+### Grunt tasks
- **default** - Download [Fancybox] and [Font Awesome].
- **fontawesome** - Only download [Font Awesome].
- **fancybox** - Only download [Fancybox].
- **clean** - Clean temporarily files and downloaded files.[Hexo]: http://zespia.tw/hexo/
[Fancybox]: http://fancyapps.com/fancybox/
[Font Awesome]: http://fontawesome.io/
[Grunt]: http://gruntjs.com/