Browse Source

Setup layout inheritance hierarchy

master
Luke Murphy 4 years ago
parent
commit
abb40ef196
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 5
      hbbs/templates/about.html
  2. 9
      hbbs/templates/layout.html

5
hbbs/templates/about.html

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

9
hbbs/templates/index.html → hbbs/templates/layout.html

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