Modularise templates

This commit is contained in:
Fred Boniface
2023-09-03 20:52:51 +01:00
parent dc7631ede2
commit d27625f112
3 changed files with 20 additions and 12 deletions

16
templates/base.html Normal file
View File

@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="charset" content="utf-8" />
<title>barcodes</title>
<!-- CSS and JS Inclusions -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Frederick Boniface" />
<meta name="description" content="Easily create a variety of barcodes" />
</head>
<body>
<h1>{{ template "title" }}</h1>
{{ template "body" . }}
</body>
</html>