aboutsummaryrefslogtreecommitdiff
path: root/app/templates/index.html
blob: 46be684f0744c66fd44c3f798b42ee2e6d66f388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% 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,
			majority of which 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 %}