contentdb/app/templates/index.html
2018-05-24 20:42:26 +01:00

31 lines
593 B
HTML

{% extends "base.html" %}
{% block title %}
Welcome
{% endblock %}
{% block container %}
<header>
<div class="container">
<h1>Content DB</h1>
<p>
Minetest's official content repository.
Browse {{ count }} packages,
all available under a free and open source
license.
</p>
<form method="get" action="/packages/">
<input type="text" name="q" value="{{ query or ''}}" />
<input type="submit" value="Search" />
</form>
</div>
</header>
<main>
{% from "macros/packagegridtile.html" import render_pkggrid %}
{{ render_pkggrid(packages) }}
</main>
{% endblock %}