{% extends "base.html" %} {% import "utils.html" as utils %} {% block title %}Libreddit: search results - {{ params.q }}{% endblock %} {% block content %}
{% if sub != "" %}
{% endif %} {% if params.sort != "new" %}{% endif %}
{% for post in posts %} {% if post.flags.nsfw && prefs.hide_nsfw == "on" %} {% else if post.title != "Comment" %}

{{ post.score }}

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

r/{{ post.community }} {% call utils::render_flair(post.author_flair) %} {{ post.time }}

{% call utils::render_flair(post.flair) %} {{ post.title }}

{% else %}

{{ post.score }}

COMMENT {{ post.time }}

{{ post.body }}

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