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.
1234567891011121314 |
- {% extends 'layout.html.j2' %}
- {% block content %}
- <ul class="post-listing">
- <h3 class="heading">all posts</h3>
- {% for post in posts %}
- <li class="post-listing__item {% if post.changed %}post-listing__item--changed{% endif %}">
- <span>{{ post.date }}</span>
- <a href="{{ url_for('edit_post', post_id = post.id) }}">
- {{ post.title }}
- </a>
- </li>
- {% endfor %}
- </ul>
- {% endblock %}
|