{% capture content %}
    {% if page.layout == 'post' %}
        {{ page.content | markdownify }}
    {% else %}
        {{ post.content }}
    {% endif %}
{% endcapture %}

{% unless page.hideHeader %}
<!-- If we are on the main page, make the title of the shown
     blog post be a link to the real post page  -->
{% if page.layout == 'home' %}
<a href="{{ post.url | relative_url }}">
    <h1 style="margin-bottom: 5px;">{{ post.title }}</h1>
</a>
{% endif %}

<!-- If we are *not* on the main page, don't mak