mediocre-blog/_layouts/post.html

27 lines
495 B
HTML
Raw Normal View History

2013-10-17 00:20:50 +00:00
---
layout: default
---
<p class="meta">
{{ page.date | date: "%B %d, %Y" }}
<a href="/">
<i class="home icon-home"></i>
</a>
</p>
<h1 class="title">{{ page.title }}</h1>
<div id="post">
{{ content }}
</div>
<div id="related">
<h3>Related Posts</h3>
<ul class="posts">
{% for post in site.related_posts limit:3 %}
<li>
<span>{{ post.date | date_to_string }} &raquo;</span> <a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
</div>