A flat-file CMS written in Python and Flask
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html.j2 439B

1234567891011121314
  1. {% extends 'layout.html.j2' %}
  2. {% block content %}
  3. <ul class="post-listing">
  4. <h3 class="heading">all posts</h3>
  5. {% for post in posts %}
  6. <li class="post-listing__item {% if post.changed %}post-listing__item--changed{% endif %}">
  7. <span>{{ post.date }}</span>
  8. <a href="{{ url_for('edit_post', post_id = post.id) }}">
  9. {{ post.title }}
  10. </a>
  11. </li>
  12. {% endfor %}
  13. </ul>
  14. {% endblock %}