Skip to content

Commit

Permalink
Merge pull request #10 from okTurtles/hexoTrial
Browse files Browse the repository at this point in the history
Converted site to Hexo
  • Loading branch information
taoeffect committed Jun 5, 2016
2 parents 9e859e5 + e21fc62 commit c6699ca
Show file tree
Hide file tree
Showing 148 changed files with 10,066 additions and 707 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.DS_Store
Thumbs.db
db.json
*.log
node_modules/
.deploy*/
notes.md
44 changes: 43 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Group Income
# GroupIncome.org Website

__Visit [groupincome.org](http://groupincome.org)__

Expand All @@ -13,3 +13,45 @@ A `group income` ___(n)___ is a fair income sharing mechanism that allows groups

- Website: __[groupincome.org](http://groupIncome.org)__
- Twitter: __[@Group_Income](https://twitter.com/Group_Income)__

### Contributing

__This project uses [Hexo](https://hexo.io/) to generate the HTML from the `index.md` files inside `/source`!__ So if you want to translate or update this webpage, __please focus on `index.md` files.__

Make sure to work in a named branch. See [`CONTRIBUTING.md`](https://github.com/okTurtles/group-income-simple/blob/master/CONTRIBUTING.md) for details.

#### Getting started

If you haven't already, you'll need to install [Hexo](https://hexo.io):

``` bash
npm install hexo-cli -g
```

Clone the website repo & install dependencies:

``` bash
$ git clone https://github.com/okTurtles/groupincome.org.git
$ cd groupincome.org/
$ npm install
```

To generate static files from `/source`:

``` bash
$ hexo generate
```

To run the Hexo server:

``` bash
$ hexo server
```

The [Hexo server](https://hexo.io/docs/server.html) will watch for file changes/additions and update automatically, so it's not necessary to restart the server to see most changes. However, if you install or update [Hexo plugins](https://hexo.io/docs/plugins.html) or make changes to either `_config.yml` file, you'll need to restart the server to see the changes.

### Contributors

- [taoeffect](https://github.com/taoeffect)
- [dotmacro](https://github.com/dotmacro)

72 changes: 72 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# 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
author_url: https://okturtles.org
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:
Loading

0 comments on commit c6699ca

Please sign in to comment.