Templates are now embedded using //go:embed and parsed once at startup with template.Must(template.ParseFS(...)). This avoids re-parsing template files from disk on every request and removes the dependency on template files being present at runtime. closes #7 |
||
|---|---|---|
| .. | ||
| base.html | ||
| htmlheader.html | ||
| index.html | ||
| login.html | ||
| navbar.html | ||
| profile.html | ||
| templates.go | ||