findcommonground.uk/README.md

75 lines
3.0 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 13:44:16 +00:00
![Jekyll Boilerplate - theme screenshot](/images/jekyll-boilerplate.jpg)
2014-02-25 01:24:01 +00:00
- Fully responsive design
2014-02-25 01:21:26 +00:00
- Syntax highlighting
2014-02-25 01:24:01 +00:00
- Disqus and Google Analytics integration
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 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
- [mojombo.github.io by Tom Preston-Werner](https://github.com/mojombo/mojombo.github.io) - TPW's original Jekyll theme