Select Text read_text.html

contents-bak2.html

<!-- contents-bak.html -->
{% extends 'base_1.html' %}

{% block title %}Contents{% endblock %}

{% block content %}
<h2>All Contents</h2>
<ul>
    {% for content in contents_data %}
    <li>
        <h3>{{content.id}}: {{ content.title }}</h3>
        <pre>{{ content.excerpt }}</pre>
        <a href="{{ url_for('show_post', post_id=content.id) }}">Read more</a>&nbsp;&nbsp;  |  &nbsp;&nbsp;
        <a href="{{ url_for('edit_post', post_id=content.id) }}">Edit</a>
    </li>
    <hr>
    {% endfor %}
</ul>
<a href="{{ url_for('home2') }}">Back to Home</a>
{% endblock %}
Back to file list