forked from willianjusten/will-jekyll-template
-
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.
Add license and steps to setup theme
- Loading branch information
1 parent
8a31dfb
commit 0fe2486
Showing
3 changed files
with
196 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,22 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2014 Hossain Mohd Faysal <[email protected]> | ||
http://hmfaysal.github.io | ||
|
||
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 |
---|---|---|
|
@@ -30,6 +30,74 @@ The Theme features: | |
|
||
## Site and User Settings | ||
|
||
You have to fill some informations on `_config.yml` to customize your site. | ||
|
||
``` | ||
# Site settings | ||
description: A blog about lorem ipsum dolor sit amet | ||
baseurl: "" # the subpath of your site, e.g. /blog/ | ||
url: "http://localhost:3000" # the base hostname & protocol for your site | ||
# User settings | ||
username: Lorem Ipsum | ||
user_description: Anon Developer at Lorem Ipsum Dolor | ||
user_title: Anon Developer | ||
email: [email protected] | ||
twitter_username: lorem_ipsum | ||
github_username: lorem_ipsum | ||
gplus_username: lorem_ipsum | ||
disqus_username: lorem_ipsum | ||
``` | ||
|
||
## Color customization | ||
|
||
All color variables are in `src/styl/variable`. To change the main color, just set the new value at `main` assignment. Another colors are for texts and the code background color. | ||
|
||
## Creating posts | ||
|
||
You can use the `initpost.sh` to create your new posts. Just follow the command: | ||
|
||
``` | ||
./initpost.sh -c Post Title | ||
``` | ||
|
||
The new file will be created at `_posts` with this format `date-title.md`. | ||
|
||
## Front-matter | ||
|
||
When you create a new post, you need to fill the post information in the front-matter, follow this example: | ||
|
||
--- | ||
layout: post | ||
title: "How to use" | ||
date: 2015-08-03 03:32:44 | ||
image: '/assets/img/post-image.png' | ||
description: 'First steps to use this template' | ||
tags: | ||
- jekyll | ||
- template | ||
categories: | ||
- I love Jekyll | ||
twitter_text: 'How to install and use this template' | ||
--- | ||
|
||
## Running the blog in local | ||
|
||
In order to compile the assets and run Jekyll on local you need to follow those steps: | ||
|
||
- Install [NodeJS](https://nodejs.org/) | ||
- Run `npm install` | ||
- Run `gulp` | ||
|
||
## Questions | ||
|
||
Having a problem getting something to work or want to know why I setup something in a certain way? Ping me on Twitter [@willian_justen](https://twitter.com/willian_justen) or file a [GitHub Issue](https://github.com/willianjusten/will-jekyll-template/issues/new). | ||
|
||
## License | ||
|
||
This theme is free and open source software, distributed under the The MIT License. So feel free to use this Jekyll theme on your site without linking back to me or using a disclaimer. | ||
|
||
If you’d like to give me credit somewhere on your blog or tweet a shout out to [@willian_justen](https://twitter.com/willian_justen), that would be pretty sweet. | ||
|
||
|
||
|
||
|
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 |
---|---|---|
|
@@ -12,4 +12,110 @@ categories: | |
twitter_text: 'How to install and use this template' | ||
--- | ||
|
||
This is a simple and minimalist template for Jekyll designed for developers that want to write blog posts but don't want to care about frontend stuff. | ||
|
||
The Theme features: | ||
|
||
- Gulp | ||
- Stylus (Jeet, Rupture, Kouto Swiss) | ||
- Smoothscroll | ||
- Live Search | ||
- Offcanvas Menu | ||
- SVG icons | ||
- Shell Script to create posts | ||
- Tags page | ||
- Series page | ||
- About Me page | ||
- Feed RSS | ||
- Sitemap.xml | ||
- Color Customization | ||
- Info Customization | ||
|
||
## Basic Setup | ||
|
||
1. [Install Jekyll](http://jekyllrb.com) | ||
2. Fork the [Will Jekyll Template](https://github.com/willianjusten/will-jekyll-template/fork) | ||
3. Clone the repo you just forked. | ||
4. Edit `_config.yml` to personalize your site. | ||
5. Check out the sample posts in `_posts` to see examples for assigning categories and tags, and other YAML data. | ||
6. Read the documentation below for further customization pointers and documentation. | ||
|
||
## Site and User Settings | ||
|
||
You have to fill some informations on `_config.yml` to customize your site. | ||
|
||
{% highlight ruby %} | ||
# Site settings | ||
description: A blog about lorem ipsum dolor sit amet | ||
baseurl: "" # the subpath of your site, e.g. /blog/ | ||
url: "http://localhost:3000" # the base hostname & protocol for your site | ||
|
||
# User settings | ||
username: Lorem Ipsum | ||
user_description: Anon Developer at Lorem Ipsum Dolor | ||
user_title: Anon Developer | ||
email: [email protected] | ||
twitter_username: lorem_ipsum | ||
github_username: lorem_ipsum | ||
gplus_username: lorem_ipsum | ||
disqus_username: lorem_ipsum | ||
{% endhighlight %} | ||
|
||
## Color customization | ||
|
||
All color variables are in `src/styl/variable`. To change the main color, just set the new value at `main` assignment. Another colors are for texts and the code background color. | ||
|
||
## Creating posts | ||
|
||
You can use the `initpost.sh` to create your new posts. Just follow the command: | ||
|
||
{% highlight bash %} | ||
./initpost.sh -c Post Title | ||
{% endhighlight %} | ||
|
||
The new file will be created at `_posts` with this format `date-title.md`. | ||
|
||
## Front-matter | ||
|
||
When you create a new post, you need to fill the post information in the front-matter, follow this example: | ||
|
||
{% highlight ruby %} | ||
--- | ||
layout: post | ||
title: "How to use" | ||
date: 2015-08-03 03:32:44 | ||
image: '/assets/img/post-image.png' | ||
description: 'First steps to use this template' | ||
tags: | ||
- jekyll | ||
- template | ||
categories: | ||
- I love Jekyll | ||
twitter_text: 'How to install and use this template' | ||
--- | ||
{% endhighlight %} | ||
|
||
|
||
## Running the blog in local | ||
|
||
In order to compile the assets and run Jekyll on local you need to follow those steps: | ||
|
||
- Install [NodeJS](https://nodejs.org/) | ||
- Run `npm install` | ||
- Run `gulp` | ||
|
||
## Questions | ||
|
||
Having a problem getting something to work or want to know why I setup something in a certain way? Ping me on Twitter [@willian_justen](https://twitter.com/willian_justen) or file a [GitHub Issue](https://github.com/willianjusten/will-jekyll-template/issues/new). | ||
|
||
## License | ||
|
||
This theme is free and open source software, distributed under the The MIT License. So feel free to use this Jekyll theme on your site without linking back to me or using a disclaimer. | ||
|
||
If you’d like to give me credit somewhere on your blog or tweet a shout out to [@willian_justen](https://twitter.com/willian_justen), that would be pretty sweet. | ||
|
||
|
||
|
||
|
||
|
||
|