freepost codebase git repo
Clone
HTTPS:
git clone https://vervis.peers.community/repos/Avlxv
SSH:
git clone USERNAME@vervis.peers.community:Avlxv
Branches
Tags
user_posts.twig
{% include 'header.twig' %}
<div class="user_activity">
{% for post in posts %}
<div>
{# Post title #}
{% if post.link|length > 0 %}
<a href="{{ post.link }}">
{{ post.title }}
</a>
{% else %}
<a href="../post/{{ post.hashId }}">
{{ post.title }}
</a>
{% endif %}
{# Post info #}
<div class="info">
{{ post.vote }} votes,
<em>{{ post.created|ago }}</em>
—
<a href="../post/{{ post.hashId }}">{{ post.commentsCount }} comments</a>
</div>
</div>
{% endfor %}
</div>
{% include 'footer.twig' %}