Skip to content

Instantly share code, notes, and snippets.

@gekitz
Created September 22, 2012 20:17
Show Gist options
  • Save gekitz/3767693 to your computer and use it in GitHub Desktop.
Save gekitz/3767693 to your computer and use it in GitHub Desktop.
---
layout: default
---
<h2 class="tag">{{ page.title }}</h2>
{% for post in site.tags[page.tag] %}
<div class="tag_entry">
<h3>
<a class="content_head" href="{{ post.url }}">{{ post.title }}</a>
</h3>
<div>
<span class="content_detail_info">Post created on {{ post.date | date_to_string }}</span>
{% for tag in post.tags %}
{% if forloop.first %}
<span class="content_detail_info">can be found in </span>
{% endif %}
{% if forloop.last and forloop.length != 1%}
<span class="content_detail_info">and</span>
{% endif %}
<a class="content_tag" href="{{ BASE_PATH }}/tags/{{tag}}">#{{ tag }}</a>
{% endfor %}
</div>
</div>
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment