mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-12-16 12:05:30 +00:00
added views
This commit is contained in:
5
views/routes/test_body_component/body.tmpl
Normal file
5
views/routes/test_body_component/body.tmpl
Normal file
@@ -0,0 +1,5 @@
|
||||
This is a test body form test_body_component
|
||||
{{ template "testcomponent" . }}
|
||||
{{ template "testinnercomponent". }}
|
||||
|
||||
{{ template "seperate" }}
|
||||
@@ -0,0 +1,3 @@
|
||||
{{ define "seperate" }}
|
||||
This is a seperately defined component
|
||||
{{ end }}
|
||||
@@ -0,0 +1 @@
|
||||
This is a non-global component inside of a components dir
|
||||
1
views/routes/test_body_component/testcomponent.tmpl
Normal file
1
views/routes/test_body_component/testcomponent.tmpl
Normal file
@@ -0,0 +1 @@
|
||||
This is a testcomponent
|
||||
Reference in New Issue
Block a user