{% extends "base.html" %} {% block title %}Libreddit: u/{{ user.name }}{% endblock %} {% block body %}

u/{{ user.name }}

Karma: {{ user.karma }} | Description: "{{ user.description }}"

{% for post in posts %} {% if post.title != "Comment" %}

{{ post.score }}

{% if post.nsfw %}
NSFW
{% endif %}

r/{{ post.community }} {% if post.author_flair.0 != "" %} {{ post.author_flair.0 }} {% endif %} {{ post.time }}

{% if post.flair.0 == "Comment" %} {% else if post.flair.0 == "" %} {% else %} {{ post.flair.0 }} {% endif %} {{ post.title }}


{% else %}

{{ post.score }}

COMMENT {{ post.time }}

{{ post.body }}


{% endif %} {% endfor %}
{% endblock %}