{% extends "base.html" %} {% block title %}{% if title is defined %}{{title}}{% else %}Section{% endif %}{% endblock %} {% block body %} <main> {{ content}} </main> <ul> {% for post in posts %} <li><a href="{{post.link}}">{{ post.title }}</a></li> <ul> <li>{{ post.description}}</li> <li>Published On: {{post.date}}</li> <li>Tags: {% for tag in post.tags %} <a href='/tags/{{tag}}.html'>{{ tag }}</a>{{ ", " if not loop.last else "" }} {% endfor %} </ul> {% endfor %} </ul> {% endblock %}