You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
638 B
HTML

---
layout: default
---
<div class="post">
<h1 class="post-title">{{ page.title }}</h1>
<span class="post-date">Posted on: {{ page.date | date_to_string }} &middot; Tagged: {{ page.tags }}</span>
{{ content }}
</div>
{% capture tag %}{{ page.tags | first }}{% endcapture %}
<div class="related">
<h2>Other Posts Tagged: {{ tag }}</h2>
<ul class="related-posts">
{% for post in site.tags[tag] limit: 5 %}
{% unless post.title == page.title %}
<li>
<p>
<a href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a>
</p>
</li>
{% endunless %}
{% endfor %}