-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit of Hexo w/ Minos theme. Created homepage,
favicon, /_drafts, FAQ. Removed default theme, config'd Minos. Updated "Contributing" in README.
- Loading branch information
Showing
100 changed files
with
5,289 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.DS_Store | ||
Thumbs.db | ||
db.json | ||
*.log | ||
node_modules/ | ||
public/ | ||
.deploy*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# Hexo Configuration | ||
## Docs: https://hexo.io/docs/configuration.html | ||
## Source: https://github.com/hexojs/hexo/ | ||
|
||
# Site | ||
title: Group Income | ||
subtitle: Voluntary Automated Decentralized Basic Income | ||
description: | ||
author: okTurtles Foundation | ||
language: en | ||
timezone: | ||
|
||
# URL | ||
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' | ||
url: http://groupcurrency.org | ||
root: / | ||
permalink: :title/ | ||
permalink_defaults: | ||
|
||
# Directory | ||
source_dir: source | ||
public_dir: public | ||
tag_dir: tags | ||
archive_dir: archives | ||
category_dir: categories | ||
code_dir: downloads/code | ||
i18n_dir: :lang | ||
skip_render: README.md | ||
|
||
# Writing | ||
new_post_name: :title.md # File name of new posts | ||
default_layout: page | ||
titlecase: false # Transform title into titlecase | ||
external_link: true # Open external links in new tab | ||
filename_case: 0 | ||
render_drafts: false | ||
post_asset_folder: false | ||
relative_link: false | ||
future: true | ||
highlight: | ||
enable: true | ||
line_number: true | ||
auto_detect: false | ||
tab_replace: | ||
|
||
# Category & Tag | ||
default_category: uncategorized | ||
category_map: | ||
tag_map: | ||
|
||
# Date / Time format | ||
## Hexo uses Moment.js to parse and display date | ||
## You can customize the date format as defined in | ||
## http://momentjs.com/docs/#/displaying/format/ | ||
date_format: YYYY-MM-DD | ||
time_format: HH:mm:ss | ||
|
||
# Pagination | ||
## Set per_page to 0 to disable pagination | ||
per_page: 10 | ||
pagination_dir: page | ||
|
||
# Extensions | ||
## Plugins: https://hexo.io/plugins/ | ||
## Themes: https://hexo.io/themes/ | ||
theme: minos | ||
|
||
# Deployment | ||
## Docs: https://hexo.io/docs/deployment.html | ||
deploy: | ||
type: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "hexo-site", | ||
"version": "0.0.0", | ||
"private": true, | ||
"hexo": { | ||
"version": "3.2.0" | ||
}, | ||
"dependencies": { | ||
"hexo": "^3.2.0", | ||
"hexo-generator-archive": "^0.1.4", | ||
"hexo-generator-category": "^0.1.3", | ||
"hexo-generator-index": "^0.2.0", | ||
"hexo-generator-tag": "^0.2.0", | ||
"hexo-renderer-ejs": "^0.2.0", | ||
"hexo-renderer-stylus": "^0.3.1", | ||
"hexo-renderer-marked": "^0.2.10", | ||
"hexo-server": "^0.2.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: {{ title }} | ||
tags: | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: {{ title }} | ||
date: {{ date }} | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: {{ title }} | ||
date: {{ date }} | ||
tags: | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: FAQ | ||
--- | ||
|
||
## What is the minimum size for a group? | ||
|
||
There is no minimum size for a group, so long as the group can meet its basic income. Two individuals could form a group, and even a single individual with sufficient resources could provide their own basic income. | ||
|
||
|
||
## How can I do this today? | ||
|
||
- Establish a group | ||
- Decide on a basic income amount | ||
- Implement Group Income going forward |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title: Hello World | ||
--- | ||
Welcome to [Hexo](https://hexo.io/)! This is your very first post. Check [documentation](https://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in [troubleshooting](https://hexo.io/docs/troubleshooting.html) or you can ask me on [GitHub](https://github.com/hexojs/hexo/issues). | ||
|
||
## Quick Start | ||
|
||
### Create a new post | ||
|
||
``` bash | ||
$ hexo new "My New Post" | ||
``` | ||
|
||
More info: [Writing](https://hexo.io/docs/writing.html) | ||
|
||
### Run server | ||
|
||
``` bash | ||
$ hexo server | ||
``` | ||
|
||
More info: [Server](https://hexo.io/docs/server.html) | ||
|
||
### Generate static files | ||
|
||
``` bash | ||
$ hexo generate | ||
``` | ||
|
||
More info: [Generating](https://hexo.io/docs/generating.html) | ||
|
||
### Deploy to remote sites | ||
|
||
``` bash | ||
$ hexo deploy | ||
``` | ||
|
||
More info: [Deployment](https://hexo.io/docs/deployment.html) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Group Income | ||
|
||
A `Group Income` **_(n)_** is a fair income sharing mechanism that allows groups to provide their members with a **[basic income](https://en.wikipedia.org/wiki/Basic_income)**. | ||
|
||
# Coming Soon! | ||
|
||
Detailed information about Group Income will be posted here soon. | ||
|
||
Can't wait? Here's what you can do in the meantime: | ||
|
||
- Follow **[@Group_Income](https://twitter.com/Group_Income)** (and enable notifications). | ||
- Start or join a discussion on **[the forum](https://forums.okturtles.com/index.php?board=9.0)**. | ||
- Sign up for the [okTurtles newsletter](https://okturtles.com) (scroll to the bottom). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
module.exports = function(grunt){ | ||
grunt.initConfig({ | ||
gitclone: { | ||
fontawesome: { | ||
options: { | ||
repository: 'https://github.com/FortAwesome/Font-Awesome.git', | ||
directory: 'tmp/fontawesome' | ||
}, | ||
}, | ||
fancybox: { | ||
options: { | ||
repository: 'https://github.com/fancyapps/fancyBox.git', | ||
directory: 'tmp/fancybox' | ||
} | ||
} | ||
}, | ||
copy: { | ||
fontawesome: { | ||
expand: true, | ||
cwd: 'tmp/fontawesome/fonts/', | ||
src: ['**'], | ||
dest: 'source/css/fonts/' | ||
}, | ||
fancybox: { | ||
expand: true, | ||
cwd: 'tmp/fancybox/source/', | ||
src: ['**'], | ||
dest: 'source/fancybox/' | ||
} | ||
}, | ||
_clean: { | ||
tmp: ['tmp'], | ||
fontawesome: ['source/css/fonts'], | ||
fancybox: ['source/fancybox'] | ||
} | ||
}); | ||
|
||
require('load-grunt-tasks')(grunt); | ||
|
||
grunt.renameTask('clean', '_clean'); | ||
|
||
grunt.registerTask('fontawesome', ['gitclone:fontawesome', 'copy:fontawesome', '_clean:tmp']); | ||
grunt.registerTask('fancybox', ['gitclone:fancybox', 'copy:fancybox', '_clean:tmp']); | ||
grunt.registerTask('default', ['gitclone', 'copy', '_clean:tmp']); | ||
grunt.registerTask('clean', ['_clean']); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Copyright (c) 2013 Tommy Chen | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
# Minos | ||
|
||
### A simple and retro styled Hexo theme, concentrated more on your ideas. | ||
#### >> [Preview](http://ppoffice.github.io/hexo-theme-minos/) | ||
![Minos - the Hexo theme](http://ppoffice.github.io/hexo-theme-minos/gallery/Minos.jpg "") | ||
|
||
## Installation | ||
|
||
### Install | ||
|
||
``` bash | ||
$ git clone https://github.com/ppoffice/hexo-theme-minos.git themes/minos | ||
``` | ||
|
||
**Minos requires Hexo 3.0 and above.** | ||
|
||
### Enable | ||
|
||
Modify `theme` setting in `_config.yml` to `minos`. | ||
|
||
### Update | ||
|
||
``` bash | ||
cd themes/minos | ||
git pull | ||
``` | ||
|
||
## Configuration | ||
|
||
### Theme configuration example | ||
``` | ||
# Header | ||
menu: | ||
Home: / | ||
Archives: archives | ||
Categories: categories | ||
Tags: tags | ||
About: about | ||
# Content | ||
excerpt_link: Read More | ||
toc: false | ||
fancybox: true | ||
# Miscellaneous | ||
google_analytics: | ||
favicon: /favicon.png | ||
``` | ||
|
||
- **excerpt_link** - Cooperate with <!-- more --\> tag to show only part of the article in index pages. | ||
- **toc** - Whether to show the table of contents in articles. | ||
- **fancybox** - Enable [Fancybox]. | ||
- **google_analytics** - Google Analytics ID. | ||
- **favicon** - Favicon path. | ||
|
||
Don't forget to rename `_config.yml.example` to `_config.yml` to enable theme config! | ||
|
||
## Custom Categories & Tags Pages | ||
|
||
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 | ||
... | ||
``` | ||
|
||
## 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 site's `_config.yml`. | ||
|
||
``` yml | ||
language: zh-CN | ||
``` | ||
## Features | ||
### Custom Categories & Tags Pages | ||
Get your categories and tags listed in single pages to make your blog more methodic. | ||
### Responsive Layout | ||
Minos knows on what screen size you are browsering the website, and reorganize the layout to fit your device. | ||
![](http://ppoffice.github.io/hexo-theme-minos/gallery/Minos-mobile.jpg "") | ||
### Fancybox | ||
Minos uses [Fancybox] to showcase your photos. You can use Markdown syntax or fancybox tag plugin to add your photos. | ||
``` | ||
![img caption](img url) | ||
``` | ||
|
||
### Monokai Sublime Syntax Highlight | ||
|
||
Thanks to [Highlight.js](https://highlightjs.org/). | ||
|
||
## Development | ||
|
||
### Requirements | ||
|
||
- [Grunt] 0.4+ | ||
- Hexo 3.0+ | ||
|
||
### 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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Header | ||
logo_text: # Add text logo instead of logo image | ||
menu: | ||
Home: / | ||
FAQ: /FAQ | ||
# Archives: archives | ||
# Categories: categories | ||
# Tags: tags | ||
okTurtles: https://okturtles.com | ||
|
||
# Content | ||
excerpt_link: Read More | ||
toc: false # Whether to show the table of contents in articles | ||
# fancybox: true | ||
|
||
# Miscellaneous | ||
# google_analytics: | ||
favicon: /favicon.ico |
Oops, something went wrong.