home ยป zplus/freepost.git
ID: 9ffabe403d1cbd6a8f366233188382662f1afebb
28 lines โ€” 832B โ€” View raw


{% extends 'layout.html' %}

{# Set variables for base layour #}
{% set active_page = 'user' %}
{% set title = '' %}

{% block content %}

    <div class="user_activity">

        {% for comment in comments %}
            
            <div>
                {{ comment.text|md2html|safe }}
                
                {# Post info #}
                <div class="info">
                    <a href="../post/{{ comment.postHashId }}#comment-{{ comment.hashId }}">read</a>
                    โ€”
                    <time title="{{ comment.created|title }}" datetime="{{ comment.created|datetime }}"><em> {{ comment.created|ago }} </em></time> on <a href="../post/{{ comment.postHashId }}">{{ comment.postTitle }}</a>
                </div>
            </div>
            
        {% endfor %}

    </div>
        
{% endblock %}