add template example
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
{{ template "head.tmpl" . }}
|
||||
Content
|
||||
{{ template "foot.tmpl" . }}
|
||||
@@ -0,0 +1,3 @@
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{{ .title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
Reference in New Issue
Block a user