{% 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 subscriptions %} {% call utils::sub_list("") %} {% endblock %} {% block body %}
{% if !is_filtered %}
{% call utils::sort(["/user/", user.name.as_str()].concat(), ["overview", "comments", "submitted"], listing) %}
{% if sort.0 == "top" || sort.0 == "controversial" %}{% endif %}
{% if all_posts_hidden_nsfw %}
All posts are hidden because they are NSFW. Enable "Show NSFW posts" in settings to view.
{% endif %} {% if no_posts %}
No posts were found.
{% endif %} {% if all_posts_filtered %}
(All content on this page has been filtered)
{% else %}
{% for post in posts %} {% if post.flags.nsfw && prefs.show_nsfw != "on" %} {% else if !post.title.is_empty() %} {% call utils::post_in_list(post) %} {% else %}

{% if prefs.hide_score != "on" %} {{ post.score.0 }} {% else %} • {% endif %}

Comment on r/{{ post.community }} {{ post.rel_time }}

{{ post.body|safe }}

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