{% extends "blog/base.html" %} {% load blog_tags %} {% block title %}Mój Blog{% endblock %} {% block content %}

Mój Blog

{% if tag %}

Posty oznaczone tagiem "{{ tag.name }}"

{% endif %} {% for post in posts %}

{{ post.title }}

Tags: {% for tag in post.tags.all %} {{ tag.name }} {% if not forloop.last %}, {% endif %} {% endfor %}

Opublikowane {{ post.publish }} przez {{ post.author }}

{{ post.body|markdown|truncatewords_html:30 }} {% endfor %} {% include "pagination.html" with page=posts %} {% endblock %}