make the index.html template work with base.html

This commit is contained in:
Sakooooo 2024-12-22 23:26:00 +04:00
parent 9207c31fb7
commit 91b7aebde1
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -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}}