From fc2fadedd36e575aaeb9542c6a4ccd9af5299ccc Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Mon, 27 Jan 2025 21:08:33 -0800 Subject: [PATCH] Fill in some links --- web/html/feed.html | 2 +- web/html/home.html | 2 +- web/root.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/html/feed.html b/web/html/feed.html index b00a500..e7580d6 100644 --- a/web/html/feed.html +++ b/web/html/feed.html @@ -3,7 +3,7 @@ {{ define "content" -}}
-Home +Home [Active | All]
diff --git a/web/html/home.html b/web/html/home.html index d7c5e7a..9fb03b8 100644 --- a/web/html/home.html +++ b/web/html/home.html @@ -8,7 +8,7 @@ {{ range .Sources }} - + {{ end }}
{{ .Name }}{{ .Name }}
diff --git a/web/root.go b/web/root.go index fe1b26f..51c727a 100644 --- a/web/root.go +++ b/web/root.go @@ -8,7 +8,7 @@ import ( ) func (env *Env) getRoot(writer http.ResponseWriter, req *http.Request) { - if req.URL.Path != "" { + if req.URL.Path != "/" { http.NotFound(writer, req) return }