diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-12 12:51:17 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-12 12:51:17 +0100 |
| commit | e59feeba358683dcaf01cd678e9754f91d99cca5 (patch) | |
| tree | 9b1aa4aad021f6ade6978357bd029d034f87a9ff | |
| parent | 0831926787f5e5a1943380a56417fd5f2231030e (diff) | |
feat(seo): custom description for credits page
| -rw-r--r-- | main.go | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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) |
