Be DRY with partials.

1. Create _partials Directory

cd source
mkdir _partials && cd _partials

2. Create a Partial

touch series_git_branches.markdown
series_git_branches.markdown
1
2
3
##Github
Branch 1 [Github](https://github.com/DruRly/reddit-in-sinatra/tree/1.0.x)
Branch 2 [Github](https://github.com/DruRly/reddit-in-sinatra/tree/2.0.x)

3. Reference Partial in Posts

2012-07-01-post-from-series.markdown
1
2
3
...
{% render_partial _partials/series_git_branches.markdown %}
...

Comments