mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 17:15:31 +00:00
basic reload
This commit is contained in:
1
views/assets/hello.txt
Normal file
1
views/assets/hello.txt
Normal file
@@ -0,0 +1 @@
|
||||
hello
|
||||
@@ -1,4 +1,5 @@
|
||||
//go:build dev
|
||||
// +build dev
|
||||
|
||||
package views
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{{define "body"}}
|
||||
<p>Hello from body</p>
|
||||
{{end}}
|
||||
{{ define "body" }}
|
||||
<p>Changed again! Hello from body</p>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user