wip
This commit is contained in:
1
webutil/test-templates/about.html
Normal file
1
webutil/test-templates/about.html
Normal file
@@ -0,0 +1 @@
|
||||
{{define "body"}}{{template "bold" .}}{{end}}
|
||||
1
webutil/test-templates/base.html
Normal file
1
webutil/test-templates/base.html
Normal file
@@ -0,0 +1 @@
|
||||
<p>{{block "body" .}}default{{end}}</p>
|
||||
1
webutil/test-templates/contact.html
Normal file
1
webutil/test-templates/contact.html
Normal file
@@ -0,0 +1 @@
|
||||
{{define "body"}}{{join . ","}}{{end}}
|
||||
1
webutil/test-templates/home.html
Normal file
1
webutil/test-templates/home.html
Normal file
@@ -0,0 +1 @@
|
||||
{{define "body"}}HOME!{{end}}
|
||||
1
webutil/test-templates/share/bold.html
Normal file
1
webutil/test-templates/share/bold.html
Normal file
@@ -0,0 +1 @@
|
||||
{{define "bold"}}<b>{{.}}</b>{{end}}
|
||||
1
webutil/test-templates/share/italic.html
Normal file
1
webutil/test-templates/share/italic.html
Normal file
@@ -0,0 +1 @@
|
||||
{{define "italic"}}<i>{{.}}</i>{{end}}
|
||||
Reference in New Issue
Block a user