Broke out main layout in header/footer
This commit is contained in:
@ -1,11 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ .title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>This is a test!</p>
|
||||
</body>
|
||||
</html>
|
||||
{{ template "header" . }}
|
||||
|
||||
<p>This is a test!</p>
|
||||
|
||||
{{ template "footer" . }}
|
||||
|
Reference in New Issue
Block a user