layout: base
<section class=“post-title”>
<h1>{{ page.title }}</h1> <p>{{ page.date | date_to_string: "ordinal", "US" }}</p> {% if page.tags %} <ul> {% for tag in page.tags %} <li>#{{ tag }}</li> {% endfor %} </ul> {% endif %}
</section>
{{ content }}
<hr>
<div class=“row”>
<div class="column"> {% if site.related_posts %} <p style="margin-bottom:0.2em"> <small>Related posts:</small> </p> <ul> {% for post in site.related_posts limit:3 %} <li><a href="{{ post.url }}">{{ post.title }}</a></li> {% endfor %} </ul> {% endif %} </div> <div class="column"> {% if page.next or page.previous %} <p> {% if page.next %} <small>Next post:</small> <a href="{{ page.next.url }}">{{ page.next.title }}</a><br> {% endif %} {% if page.previous %} <small>Previous post:</small> <a href="{{ page.previous.url }}">{{ page.previous.title }}</a> {% endif %} </p> {% endif %} </div>
</div>