28 lines
780 B
HTML
28 lines
780 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<h1>{{ section.title }}</h1>
|
|
|
|
{{ section.content | safe }}
|
|
|
|
{# <div class="sparkline">
|
|
{%- if paginator.pages -%}
|
|
{%- set pages = paginator.pages -%}
|
|
{%- elif section.pages -%}
|
|
{%- set pages = section.pages -%}
|
|
{%- else -%}
|
|
{%- set pages = term.pages -%}
|
|
{%- endif -%}
|
|
|
|
{%- for month, pages in pages | group_by(attribute="month") -%}
|
|
{%- set posts_per_bar = pages | length -%}
|
|
{%- set bar_height = pages | length * 10 -%}
|
|
<div style="--bar-height: {{ bar_height ~ '%' }}" title="{{ macros_translate::translate(key='posts', number=posts_per_bar, default='$NUMBER posts in total', language_strings=language_strings) }}"></div>
|
|
{%- endfor -%}
|
|
</div> #}
|
|
|
|
{% include "partials/docs_toc.html" %}
|
|
|
|
{% endblock content %}
|