opensourcegames/code/html/statistics.jinja
2020-09-28 14:32:46 +02:00

25 lines
599 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 %}