aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/main.go b/main.go
index 4bed86c..c040fbc 100644
--- a/main.go
+++ b/main.go
@@ -59,7 +59,13 @@ func main() {
g.Templates = append(g.Templates, "templates/base/*.gohtml")
g.NewTemplate("index", "/", cfg.Person.Name, "", "", &cfg).Handle()
- g.NewTemplate("credits", "/credits", "Credits", "", "", &cfg).Handle()
+ g.NewTemplate("credits",
+ "/credits",
+ "Credits",
+ "",
+ "Credits of the "+cfg.Person.Name+"'s Now page",
+ &cfg).
+ Handle()
g.NotFoundHandler = func(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, "/", http.StatusTemporaryRedirect)