Setup layout inheritance hierarchy

This commit is contained in:
Luke Murphy 2020-04-04 20:09:24 +02:00
parent 2a18cf0a61
commit abb40ef196
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,5 @@
{% extends "layout.html" %}
{% block content %}
<p>TODO: home page</p>
{% endblock %}

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<title>voicegardens.org: home</title> <title>hbbs.decentral1.se</title>
<link <link
rel="stylesheet" rel="stylesheet"
href="/static/styles.css" href="/static/styles.css"
@ -13,6 +13,11 @@
<link rel="icon" href="/static/images/favicon.ico" /> <link rel="icon" href="/static/images/favicon.ico" />
</head> </head>
<body> <body>
<h1>Hello, World</h1> <div id="navigation">
<p>TODO:navbar</p>
</div>
<div id="content">
{% block content %}{% endblock %}
</div>
</body> </body>
</html> </html>