swisskyrepo.github.io/README.md

103 lines
4.1 KiB
Markdown
Raw Normal View History

2014-02-07 13:49:36 +00:00
# Jekyll Boilerplate
2014-02-25 13:44:16 +00:00
Create your Jekyll blog in minutes, without needing to set up local development.
2014-02-07 13:49:36 +00:00
2014-02-25 14:02:27 +00:00
Demo site at <http://jekyllboilerplate.com>.
2014-02-25 14:02:27 +00:00
![Jekyll Boilerplate - theme screenshot](/images/jekyll-boilerplate.jpg)
2014-02-25 13:47:34 +00:00
## 5 Minute Blog Setup on GitHub Pages
2014-02-25 13:47:34 +00:00
#### 1) Fork Jekyll Boilerplate
2014-02-25 01:21:26 +00:00
Click the fork button at the top right of the repository.
2014-02-25 13:47:34 +00:00
#### 2) Rename it to be your GitHub user site
2014-02-25 01:21:26 +00:00
After forking, click the Settings button on your new repository and change the repository name to username.github.io -- make sure that username is replaced with your GitHub username!
Hosting your Jekyll blog on your GitHub user account takes care of a LOT of the hard work for us. You'll see shortly.
2014-02-25 13:47:34 +00:00
#### 3) Your blog is live!
2014-02-25 01:21:26 +00:00
You can now go to http://username.github.io and you'll see your site live! This can take up to 10 minutes to update, but often it's there right away.
2014-02-25 13:47:34 +00:00
#### 4) Customize your blog
2014-02-25 01:21:26 +00:00
You can quickly update a lot by simply editing the configuration file. Go to the base directory and open up _config.yml. In there you'll be able to edit your:
- Blog name
- Description
- Avatar
2014-02-25 13:44:16 +00:00
- Social links
2014-02-25 01:21:26 +00:00
- Disqus comments code
- Google Analytics code
2014-02-25 13:47:34 +00:00
#### 5) Publish your first post
2014-02-25 01:21:26 +00:00
2014-02-25 13:44:16 +00:00
Go to the _posts folder and simply edit the one that's there to create your first blog post! Jekyll pulls the date of the post from the filename, so you can edit that to today's date.
2014-02-25 01:21:26 +00:00
Ok, so writing your blog post might take more than 5 minutes, but once you've got it written you're set!
2014-02-25 13:47:34 +00:00
## Set up your own domain name
2014-02-25 01:21:26 +00:00
Follow the latest [GitHub Pages Custom Domain Guide](https://help.github.com/articles/setting-up-a-custom-domain-with-pages) to set up your custom domain name. I've created the CNAME file already, so that you can easily edit it within the repository.
2014-02-25 13:47:34 +00:00
## Publishing New Content
2014-02-25 01:21:26 +00:00
Alternative flow for publishing content, without needing Local Development Environment
2014-02-25 13:47:34 +00:00
## Customizing The Theme
2014-02-25 01:21:26 +00:00
2014-02-25 13:47:34 +00:00
#### Hacking without a local development environment
2014-02-25 01:21:26 +00:00
2014-02-25 01:25:15 +00:00
If you're just looking to make a couple of quick theme changes, then this might do the trick for you.
2014-02-25 01:21:26 +00:00
2014-02-25 13:47:34 +00:00
#### Local Development
2014-02-25 13:44:16 +00:00
2014-02-25 13:47:34 +00:00
#### 1) Install Dependancies
2014-02-25 01:21:26 +00:00
2014-02-25 13:47:34 +00:00
## Get notified when I release updates or a new theme
2014-02-25 01:21:26 +00:00
I'm working on a portfolio site theme right now, and more to come after that. If you'd like me to let you know when I release a new theme, just [drop me your email for updates](http://getresponse.com).
2014-02-25 14:02:27 +00:00
## Got any questions or requests?
Open an Issue and let's chat!
2014-02-25 13:47:34 +00:00
## Alternative Jekyll starting points
2014-02-25 01:21:26 +00:00
This wasn't what you were looking for? Here are some other Jekyll starting points that might hit the spot:
2014-02-25 01:25:15 +00:00
- [Left by Zach Holman](https://github.com/holman/left) - Jekyll theme with a sidebar
- [Hazelnut by Mig Reyes](https://github.com/migreyes/hazelnut) - Includes sweet Pow workflows
- [Octopress by Brandon Mathis](https://github.com/imathis/octopress) - Another established starting point with lots of options
2014-02-25 14:02:27 +00:00
- [mojombo.github.io by Tom Preston-Werner](https://github.com/mojombo/mojombo.github.io) - TPW's original Jekyll theme
## License
```
The MIT License (MIT)
Copyright (c) 2014 Barry Clark
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.
```