Fill in some links

This commit is contained in:
Tim Van Baak 2025-01-27 21:08:33 -08:00
parent 186f24e486
commit fc2fadedd3
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
{{ define "content" -}}
<article class="center">
<span class="item-title">
<a href="#">Home</a>
<a href="/">Home</a>
[<a href="#">Active</a> | <a href="#">All</a>]
</span>
</article>

View File

@ -8,7 +8,7 @@
<table class="intake-sources">
{{ range .Sources }}
<tr>
<td><a href="#">{{ .Name }}</a></td>
<td><a href="/source/{{ .Name }}">{{ .Name }}</a></td>
</tr>
{{ end }}
</table>

View File

@ -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
}