aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-05-30 15:06:28 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-05-30 15:06:28 +0200
commit242ba7f412d4e54f21385afff3f2b884f57f6ced (patch)
tree574b05ad544b0473f53a66d474591751989add94 /pkg
parent2dd4cf35aab8324608a83d337459fd8354521b92 (diff)
downloadcerrado-242ba7f412d4e54f21385afff3f2b884f57f6ced.tar.gz
cerrado-242ba7f412d4e54f21385afff3f2b884f57f6ced.tar.bz2
cerrado-242ba7f412d4e54f21385afff3f2b884f57f6ced.zip
feat: Add navbar selection
Diffstat (limited to 'pkg')
-rw-r--r--pkg/handler/about/handler.go2
-rw-r--r--pkg/handler/config/handler.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/handler/about/handler.go b/pkg/handler/about/handler.go
index a2caa4e..1acde60 100644
--- a/pkg/handler/about/handler.go
+++ b/pkg/handler/about/handler.go
@@ -50,7 +50,7 @@ func (g *AboutHandler) About(w http.ResponseWriter, _ *http.Request) {
bs = markdown.Render(doc, renderer)
- gitList := &templates.HelloPage{
+ gitList := &templates.AboutPage{
Body: bs,
}
templates.WritePageTemplate(w, gitList)
diff --git a/pkg/handler/config/handler.go b/pkg/handler/config/handler.go
index c278e35..30f4283 100644
--- a/pkg/handler/config/handler.go
+++ b/pkg/handler/config/handler.go
@@ -56,7 +56,7 @@ func ConfigFile(configRepo configurationRepository) func(http.ResponseWriter, *h
return
}
- hello := &templates.HelloPage{
+ hello := &templates.ConfigPage{
Body: code.Bytes(),
}