Skip to content

Instantly share code, notes, and snippets.

@glidenote
Created January 3, 2012 09:39
Show Gist options
  • Save glidenote/1554272 to your computer and use it in GitHub Desktop.
Save glidenote/1554272 to your computer and use it in GitHub Desktop.
related_posts
index d3c42e3..cd4c710 100644
--- a/source/_layouts/post.html
+++ b/source/_layouts/post.html
@@ -15,6 +15,9 @@ single: true
{% unless page.sharing == false %}
{% include post/sharing.html %}
{% endunless %}
+ {% unless page.related_posts == false %}
+ {% include post/related_posts.html %}
+ {% endunless %}
<p class="meta">
{% if page.previous.url %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment