This commit is contained in:
DeveloperDurp 2024-07-28 09:40:32 -05:00
parent 035a813154
commit 67b4818274
10 changed files with 181 additions and 33 deletions

7
view/blocks.html Normal file
View file

@ -0,0 +1,7 @@
{{ define "header" }}
<h1 class="text-2xl font-bold my-5">Go and HTMX</h1>
<h2>{{.Message}}</h2>
{{ end }}
{{ define "CatFact" }}
<h2 id="catfact">Fact: {{.Fact}}</h2>
{{ end }}