initial commit
This commit is contained in:
19
templates/layout.html
Normal file
19
templates/layout.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{{define "layout"}}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
{{template "header.html" .}}
|
||||
|
||||
<main>
|
||||
{{block "content" .}} {{end}}
|
||||
{{template "footer.html" .}}
|
||||
</main>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user