Created
April 3, 2015 15:15
-
-
Save tibaes/6b63d0c7e41e2d8961d8 to your computer and use it in GitHub Desktop.
Jekyll Posts Categories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for category in site.categories %} | |
<h1><a name="{{ category[0] }}">{{ category[0] }}</a></h1> | |
{% for post in category[1] %} | |
<li> | |
<h3> | |
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a> | |
</h3> | |
</li> | |
{% endfor %} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment