Skip to content

Instantly share code, notes, and snippets.

@alberto
Created March 4, 2012 00:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alberto/1969245 to your computer and use it in GitHub Desktop.
Save alberto/1969245 to your computer and use it in GitHub Desktop.
A markdown example
layout title date comments categories
post
Movin' in
2012-03-03 23:00
true
github
octopress
blogging

You probably have noticed this blog got a facelift. I've moved from blogger to github, using a cool feature called github-pages, which allows you to publish content to the web by simply pushing content to one of your GitHub hosted repositories and point your custom domain to it.

In order to generate the html pages, I'm using octopress. It allows you to define layouts and create posts by writing your posts in markdown. It also makes super easy to deploy to github, heroku or to your own hosting via rsync.

Here an example showing how this post looks like in markdown: {% gist 1969245 %}

You can import your pages from blogger, wordpress, tumblr and a few other using jekyll's blog migrations (octopress is built on top of jekyll).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment