The "posts" branch contains all of our blog content in Markdown format. Why? Becuase we're not exactly sure where it's all going to live and it's nice to keep everything in one place no matter where it gets published.
Avoid the "master" branch in this repository!! The reason is the Google will penalize our blog site for duplicate content it finds here.
We can also use a familiar workflow to write, edit and submit content -- Pull Requests!
- Clone the repo.
- Checkout the "posts" branch
- Create a new branch.
- Create the post in posts/ and write write write. Commit often.
- Push the branch
- Visit Github and click "Pull Request" under "your recently pushed branches"
- Github will try to compare this pull request against master. Click "Edit" and change "master" to "posts". Then, "Click to create a pull request for this comparison"
- Ask some people to take a look
- The blog editor (currently @joelturnbull) will review and suggest edits to grammar, spelling, etc. This might go back and forth a couple times.
- Once we're all happy, it'll be merged.
- Create and size the images
- Checkout the gh-pages branch of this repo
- Add to assets/images
- Checkin, commit and push
- Images will be available at http://gaslight.github.io/posts/assets/images/[image_filename] (may take up to 10 minutes :P)
Currently, we're publishing to tumblr.
- Make sure you've enabled the Markdown editor in your tumblr settings.
- Copy/paste your new post on tumblr.
- Save as draft.