Modularise templates
This commit is contained in:
16
templates/base.html
Normal file
16
templates/base.html
Normal 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>
|
||||
Reference in New Issue
Block a user