Skip to content
Snippets Groups Projects
post_meta.html 575 B
Newer Older
  • Learn to ignore specific revisions
  • Tom Wiesing's avatar
    Tom Wiesing committed
    {% comment %}
        Shows meta information about a post. 
        Expects the 'post' to show as an argument. 
    {% endcomment %}
    
    by 
    
    
    Tom Wiesing's avatar
    Tom Wiesing committed
    {% include people_chip.html person=include.post.author %}
    
    Tom Wiesing's avatar
    Tom Wiesing committed
    
    on
    
    <div class="chip">
    
    Tom Wiesing's avatar
    Tom Wiesing committed
        {% if include.post.date %}
            {{ include.post.date | date_to_string }}
        {% else %}
            There is no date
        {% endif %}
    
    Tom Wiesing's avatar
    Tom Wiesing committed
    </div>
    
    
    Tom Wiesing's avatar
    Tom Wiesing committed
    {% if include.post.location %}
    
    Tom Wiesing's avatar
    Tom Wiesing committed
        at
    
        <div class="chip">
    
    Tom Wiesing's avatar
    Tom Wiesing committed
            {{include.post.location}}
    
    Tom Wiesing's avatar
    Tom Wiesing committed
        </div>
    {% endif %}
    
    in
    
    
    Tom Wiesing's avatar
    Tom Wiesing committed
    {% for tag in include.post.tags %}
    
    Tom Wiesing's avatar
    Tom Wiesing committed
        <div class="chip">
            {{tag}}
        </div>
    
    Michael Kohlhase's avatar
    Michael Kohlhase committed
    {% endfor %}