{% if page.external_url %}
Permalink
{% endif %}
{{ page.date | date: "%b %Y" }}
{% comment %} {% show category tags %} {% endcomment %} {% unless page.categories == empty %}
{% for category in page.categories %} {% endfor %}
{% endunless %} {% comment %} {% Related posts (from tags) %} {% endcomment %} {% unless page.tags == empty %} {% assign related_post_header_displayed = false %} {% assign exclude_post_urls = page.url | split: ',' %} {% for tag in page.tags %} {% for other_post in site.posts %} {% if page.id == other_post.id %} {% continue %} {% endif %} {% assign other_post_tags = other_post.tags | join: '~~~' | downcase | split: '~~~' %} {% assign tag_lc = tag | downcase %} {% if other_post_tags contains tag_lc %} {% if related_post_header_displayed != true %}

Related:

{% endif %} {% endfor %} {% endunless %}