differentiate between pages and articles

This commit is contained in:
Bastian Venthur
2021-02-06 14:29:56 +01:00
parent 542523c1de
commit 34ba74d2b0
5 changed files with 74 additions and 8 deletions

27
blag/templates/base.html Normal file
View File

@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{% endblock %}</title>
</head>
<body>
<header>
<h1>A Blog</h1>
<nav>
<ul>
<li><a href="/">Blog</a></li>
</ul>
</nav>
</header>
<main>
{% block content %}
{% endblock %}
</main>
</body>
</html>