{% extends "base.html" %} {% import "utils.html" as utils %} {% block title %}Libreddit: search results - {{ query }}{% endblock %} {% block content %}
{% if sub != "" %}
{% endif %} {% if sort.0 != "new" %}{% 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 != "" %} {{ post.flair.0 }} {% endif %} {{ post.title }}


{% else %}

{{ post.score }}

COMMENT {{ post.time }}

{{ post.body }}


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