aboutsummaryrefslogtreecommitdiff
path: root/pkg/handler
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/handler')
-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(),
}