contentdb/app/templates/index.html

31 lines
593 B
HTML
Raw Normal View History

2018-03-18 18:43:30 +01:00
{% extends "base.html" %}
{% block title %}
2018-05-18 05:18:57 +02:00
Welcome
2018-03-18 18:43:30 +01:00
{% endblock %}
2018-05-18 01:16:10 +02:00
{% block container %}
<header>
<div class="container">
2018-05-09 19:35:36 +02:00
<h1>Content DB</h1>
2018-03-21 21:10:11 +01:00
2018-05-09 19:58:09 +02:00
<p>
Minetest's official content repository.
2018-05-24 21:42:26 +02:00
Browse {{ count }} packages,
2018-05-09 19:58:09 +02:00
all available under a free and open source
license.
</p>
2018-03-21 21:10:11 +01:00
2018-05-09 19:35:36 +02:00
<form method="get" action="/packages/">
<input type="text" name="q" value="{{ query or ''}}" />
<input type="submit" value="Search" />
</form>
2018-05-18 01:16:10 +02:00
</div>
</header>
2018-03-18 18:43:30 +01:00
2018-05-18 01:16:10 +02:00
<main>
2018-05-18 02:32:34 +02:00
{% from "macros/packagegridtile.html" import render_pkggrid %}
{{ render_pkggrid(packages) }}
2018-05-18 01:16:10 +02:00
</main>
2018-03-18 18:43:30 +01:00
{% endblock %}