summaryrefslogtreecommitdiff
path: root/main/templates
diff options
context:
space:
mode:
Diffstat (limited to 'main/templates')
-rw-r--r--main/templates/main.html.j222
1 files changed, 5 insertions, 17 deletions
diff --git a/main/templates/main.html.j2 b/main/templates/main.html.j2
index d72558f..6eb6f91 100644
--- a/main/templates/main.html.j2
+++ b/main/templates/main.html.j2
@@ -1,17 +1,5 @@
-<!DOCTYPE html>
-<html dir="ltr" lang="en">
-<head>
- <meta charset="utf-8"/>
- <title>{{ title }}</title>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <meta property="og:title" content="{{ title }}" />
- <meta property="og:type" content="website" />
- <meta property="og:url" content="{{ url }}" />
- <link rel="stylesheet" href="{{ site.assets_path_static }}/css/bootstrap-grid.min.css" />
-</head>
-<body>
-<p>Hello world.</p>
-</body>
-<footer>
-</footer>
-</html>
+{% extends "base.html.j2" %}
+{% block page_title %}{{ main.main_name }}{% endblock %}
+{% block og_page_title %}{{ main.main_name }}{% endblock %}
+{% block body %}{{ super() }}
+<p>Hello world.</p>{% endblock %}