forked from Vizzuality/wri-guidelines
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
84 changed files
with
273 additions
and
147 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
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 |
---|---|---|
@@ -1,33 +1,33 @@ | ||
# WRI guidelines | ||
This repository is the WRI guidelines project | ||
|
||
## Getting set up | ||
|
||
The dashboard is powered by | ||
[Jekyll](https://upload.wikimedia.org/wikipedia/commons/7/78/Dr_Jekyll_and_Mr_Hyde_poster_edit2.jpg). | ||
Once you've installed the Jekyll gem and other deps, you can use npm to | ||
build and run the application: | ||
|
||
``` | ||
gem install bundler | ||
bundle install | ||
jekyll serve | ||
``` | ||
|
||
[Go go go!](http://localhost:4000/wri-guidelines) | ||
|
||
## Jekyll | ||
|
||
### Adding new pages | ||
|
||
In development, and on Github Pages, requests are rewritten to `.html` | ||
files as necessary. For example, `/countries --> /countries.html`. So, | ||
creating a new page is easy: just add a new HTML file! Jekyll will | ||
handle compilation, and the middleware will handle rewriting. | ||
|
||
|
||
Github Pages handles all the building, etc. for you. [Check it | ||
out!](http://vizzuality.github.io/wri-guidelines) | ||
|
||
|
||
# WRI guidelines | ||
This repository is the WRI guidelines project | ||
|
||
## Getting set up | ||
|
||
The dashboard is powered by | ||
[Jekyll](https://upload.wikimedia.org/wikipedia/commons/7/78/Dr_Jekyll_and_Mr_Hyde_poster_edit2.jpg). | ||
Once you've installed the Jekyll gem and other deps, you can use npm to | ||
build and run the application: | ||
|
||
``` | ||
gem install bundler | ||
bundle install | ||
jekyll serve | ||
``` | ||
|
||
[Go go go!](http://localhost:4000/wri-guidelines) | ||
|
||
## Jekyll | ||
|
||
### Adding new pages | ||
|
||
In development, and on Github Pages, requests are rewritten to `.html` | ||
files as necessary. For example, `/countries --> /countries.html`. So, | ||
creating a new page is easy: just add a new HTML file! Jekyll will | ||
handle compilation, and the middleware will handle rewriting. | ||
|
||
|
||
Github Pages handles all the building, etc. for you. [Check it | ||
out!](http://vizzuality.github.io/wri-guidelines) | ||
|
||
|
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
title: WRI Style Guidelines | ||
logoText: world resources institute | ||
email: [email protected] | ||
description: WRI Style Guidelines | ||
baseurl: /wri-guidelines # the subpath of your site, e.g. /blog | ||
url: "" # the base hostname & protocol for your site, e.g. http://example.com | ||
|
||
# settings | ||
markdown: kramdown | ||
gems: | ||
- jekyll-feed | ||
exclude: | ||
- Gemfile | ||
- Gemfile.lock | ||
title: WRI Style Guidelines | ||
logoText: world resources institute | ||
email: [email protected] | ||
description: WRI Style Guidelines | ||
baseurl: /wri # the subpath of your site, e.g. /blog | ||
url: "" # the base hostname & protocol for your site, e.g. http://example.com | ||
|
||
# settings | ||
markdown: kramdown | ||
gems: | ||
- jekyll-feed | ||
exclude: | ||
- Gemfile | ||
- Gemfile.lock |
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
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
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
Oops, something went wrong.