Created
June 13, 2015 15:43
-
-
Save neudabei/131cf3eff2856e1bab66 to your computer and use it in GitHub Desktop.
jekyll code
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
--- | |
layout: default | |
--- | |
<div class="home"> | |
<h1 class="page-heading">Posts in the category [coding]</h1> | |
<ul class="post-list"> | |
{% for post in site.categories.coding %} | |
<li> | |
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }} | |
{% for category in post.categories %} | |
[<a class="post-meta" href="/{{category}}">{{category}}</a>] | |
{% endfor %} | |
</span> | |
<h2> | |
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a> | |
</h2> | |
</li> | |
{% endfor %} | |
</ul> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment