blog.html 342 B

123456789101112131415161718
  1. {% extends "base.html" %}
  2. {% block content %}
  3. {% for post in posts %}
  4. <h2 class="commenttitle">
  5. <a href="{{ url_for('post', name=post.path.replace('posts/', '')) }}">
  6. {{ post.title }}
  7. </a>
  8. </h2>
  9. <small class="centered">{{ format_date(post.date) }}</small>
  10. {{ post.html|safe }}
  11. {% endfor %}
  12. {% endblock %}