Skip to content
Snippets Groups Projects
post_meta.html 575 B
{% comment %}
    Shows meta information about a post. 
    Expects the 'post' to show as an argument. 
{% endcomment %}

by 

{% include people_chip.html person=include.post.author %}

on

<div class="chip">
    {% if include.post.date %}
        {{ include.post.date | date_to_string }}
    {% else %}
        There is no date
    {% endif %}
</div>

{% if include.post.location %}
    at

    <div class="chip">
        {{include.post.location}}
    </div>
{% endif %}

in

{% for tag in include.post.tags %}
    <div class="chip">
        {{tag}}
    </div>
{% endfor %}