improved static website

This commit is contained in:
Trilarion
2020-09-21 10:23:12 +02:00
parent c18b225780
commit 9d65ee912b
16 changed files with 381 additions and 155 deletions

View File

@ -0,0 +1,28 @@
{% 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 %}