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