opensourcegames/code/html/statistics.jinja
2021-09-22 13:15:48 +02:00

24 lines
596 B
Django/Jinja

{% extends "base.jinja" %}
{% block content %}
<section class="section">
<div class="container">
<h1 class="title">{{ data['title'] }}</h1>
{% set comma = joiner(",") %}
{% for section in data['sections'] %}
{{ comma() }} <a href="#">{{ section['title'] }}</a>
{% endfor %}
</div>
</section>
{% for section in data['sections'] %}
<section class="section">
<div class="container">
<h2 id="">{{ section['title'] }}</h2>
<ul>
{% for item in section['items'] -%}
<li>{{ item }}</li>
{% endfor -%}
</ul>
</div>
</section>
{% endfor %}
{% endblock %}