Today I Learned
A knowledgebase of little learnings.
Contributing
- Open a new pull request against this repository (using a feature branch).
- Add a markdown file with your learnings under
source/posts/
, or you can ask middleman to create one for you:
$ middleman article "Your new post’s title"
- Add YAML front-matter for the post's
title
, publishingdate
, your name asauthor
, and a comma-separated list oftags
- Short is sweet. Your learning doesn't need to be lengthy. A few sentences and some example code is enough. The markdown is parsed as GFM so you can used fenced code-blocks with syntax highlighting.
Building the site
The site is (well, will be) built automatically when new posts are merged into the master
branch.
You can run it locally thusly:
$ bin/setup
$ bundle exec rake watch
This’ll spin up the development server on http://localhost:4567
.
To build out the static files into build/
run:
$ bundle exec rake build
Copyright
Content is © 2016 Robbie Mackay, but the underlying TIL software we use is:
© 2015-2016 Icelab. Distributed under the Creative Commons Attribution License.