{% comment %}
    Generates a link to a single post. 
    Expects the page representing the post as a 'post' variable. 
{% endcomment %}

<li class="collection-item">
    <a href="{{post.url}}" class="title">
        {{post.title}} {{post.subtitle}}
    </a>
    
    <div>
        {% assign post = page %}
        {% include post_meta.html %}
    </div>
</li>