{% extends "base.html" %} {% block content %} {% for post in posts %}
{{ post.title }}
by {{ post.author.name }} in /{{ post.repo }} at {% if max_paragraphs -%} {% for para in post.body[:max_paragraphs] -%} {{ para | text | safe }} {%- endfor %} {% if post.body | length > max_paragraphs -%}

more...

{%- endif %} {%- else -%} {% for para in post.body -%} {{ para | text | safe }} {%- endfor %} {%- endif %}
{% endfor %} {% endblock %}