~linuxgoose/bocpress

ref: 998269312d17fad056e8960a12a1a33f49aeff70 bocpress/main/templates/main/analytic_list.html -rw-r--r-- 985 bytes
99826931Jordan Robinson update post detail page for tag query param on url 2 months 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
27
28
29
30
31
32
33
34
{% extends 'main/layout.html' %}

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

{% block content %}
<main>
    <h1>Analytics</h1>
    <p>
        List of pages:
    </p>
    <ul>
        <li><a href="{% url 'analytic_page_detail' 'index' %}">index</a></li>
        <li><a href="{% url 'analytic_page_detail' 'rss' %}">rss</a></li>
        <li><a href="{% url 'analytic_page_detail' 'atom' %}">atom</a></li>
        {% for page in page_list %}
        <li><a href="{% url 'analytic_page_detail' page.slug %}">{{ page.slug }}</a></li>
        {% endfor %}
    </ul>
    {% if post_list %}
    <p>
        List of posts:
    </p>
    <ul>
        {% for post in post_list %}
        <li style="{% if not post.is_published %}opacity: 0.75;{% endif %}">
            <a href="{% url 'analytic_post_detail' post.slug %}">
                {{ post.title }}
            </a>
        </li>
        {% endfor %}
    </ul>
    {% endif %}
</main>
{% endblock content %}