make the index.html template work with base.html
This commit is contained in:
parent
9207c31fb7
commit
91b7aebde1
1 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
||||||
<html>
|
{{template "base.html"}}
|
||||||
<h1>hi</h1>
|
{{define "body"}}
|
||||||
<p>this is a test from {{ .test }}</p>
|
<h1> test </h1>
|
||||||
</html>
|
<p> hi, hello </p>
|
||||||
|
{{end}}
|
Loading…
Reference in a new issue