This commit is contained in:
parent
386c6bfb6c
commit
82eaa05897
10
layouts/baseof.html
Normal file
10
layouts/baseof.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{{ block "main" . }}{{ end }}
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
4
layouts/list.html
Normal file
4
layouts/list.html
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
{{ .Content }}
|
||||||
|
{{ end }}
|
||||||
Loading…
x
Reference in New Issue
Block a user