~linuxgoose/bocpress

ref: HEAD bocpress/main/templates/main/page_list.html -rw-r--r-- 554 bytes
7337de89Jordan Robinson update email host to be fetched from .env 8 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% extends 'main/layout.html' %}

{% block title %}Pages — {{ request.user.username }}{% endblock %}

{% block content %}
<main>
    <h1>Pages</h1>
    <p>
        <a href="{% url 'page_create' %}">Create a new page »</a>
    </p>
    {% if page_list %}
    <p>
        List of pages:
    </p>
    <ul>
        {% for page in page_list %}
        <li>
            <a href="{% url 'page_detail' page.slug %}">
                {{ page.title }}
            </a>
        </li>
        {% endfor %}
    </ul>
    {% endif %}
</main>
{% endblock content %}