{# Per-path daily pageview trend. Rendered standalone (htmx swap into #page-trend) or included by analytics_page_detail.html (full page). #}

{{ title or path }} ({{ total }} pageviews / {{ window }}d)

{{ path }}

{% if trend %} {% for t in trend %}{% endfor %}
DayPageviews
{{ t.day }}{{ t.count }}
{% else %}

No pageviews for this path in the last {{ window }} days.

{% endif %}