Renamed views directory to templates.
This commit is contained in:
parent
d0caa8119e
commit
299774c0c7
12 changed files with 1 additions and 1 deletions
4
templates/pages/home.gohtml
Normal file
4
templates/pages/home.gohtml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{{define "content"}}
|
||||
Hello homepage {{upper "data"}}: {{ .Data }}
|
||||
<p><img src="{{file "gopher.png"}}" alt="Gopher"/></p>
|
||||
{{end}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue