{% extends "base.html" %} {% import "utils.html" as utils %} {% block search %} {% call utils::search("".to_owned(), "", "") %} {% endblock %} {% block title %}{{ user.name.replace("u/", "") }} (u/{{ user.name }}) - Libreddit{% endblock %} {% block body %}
{% if sort.0 == "top" %}{% endif %}
{% for post in posts %} {% if post.title != "Comment" %}

{{ post.score }}

{% if post.flags.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 }}

{% if layout == "card" && post.post_type == "image" %} {% else if layout != "card" %} {% endif %}
{% else %}

{{ post.score }}

COMMENT {{ post.time }}

{{ post.body }}

{% endif %} {% endfor %}
{% if ends.0 != "" %} PREV {% endif %} {% if ends.1 != "" %} NEXT {% endif %}
{% endblock %}