summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..18b833a
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>{% block title %}{{ config.title }}{% endblock title %}</title>
+<link rel="stylesheet" href="/main.css">
+</head>
+<body>
+<div class="navbar">
+<div class="navitem navhome"><b><a href="/">PREFETCH</a></b></div>
+{% for s in config.extra.sections %}
+<div class="navitem"><a href="{{ s.url | safe }}">{{ s.name | safe }}</a></div>
+{% endfor %}
+</div>
+<hr>
+<div class="content">
+{% block content %}{{ section.content | safe }}{% endblock content %}
+</div>
+<hr>
+&copy; &quot;Prefetch&quot;. &nbsp; Licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
+</body>
+</html>