xonecas.io
2495
Xg

xonecas.github.com / files

xonecas.github.com / _layouts / post.html

528 bytes
1---
2layout: default
3---
4
5<div class="post">
6  <h1 class="post-title">{{ page.title }}</h1>
7  <span class="post-date">{{ page.date | date_to_string }}</span>
8  {{ content }}
9</div>
10
11<div class="related">
12  <h2>Related Posts</h2>
13  <ul class="related-posts">
14    {% for post in site.related_posts limit:3 %}
15      <li>
16        <h3>
17          <a href="{{ post.url }}">
18            {{ post.title }}
19            <small>{{ post.date | date_to_string }}</small>
20          </a>
21        </h3>
22      </li>
23    {% endfor %}
24  </ul>
25</div>