Sorted out how to do views with Go html/template, how to put code in subdirectories for a namespace, and documented why Go's modules are so weird.

This commit is contained in:
Zed A. Shaw 2025-06-06 13:12:38 -04:00
parent 144a76a67a
commit 55f59d88b6
11 changed files with 155 additions and 53 deletions

5
views/index.html Normal file
View file

@ -0,0 +1,5 @@
{{template "partials/header" .}}
<h1>{{.Title}}</h1>
{{template "partials/footer" .}}