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" -}} {{ define "content" -}}
<article class="center"> <article class="center">
<span class="item-title"> <span class="item-title">
<a href="#">Home</a> <a href="/">Home</a>
[<a href="#">Active</a> | <a href="#">All</a>] [<a href="#">Active</a> | <a href="#">All</a>]
</span> </span>
</article> </article>

View File

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

View File

@ -8,7 +8,7 @@ import (
) )
func (env *Env) getRoot(writer http.ResponseWriter, req *http.Request) { func (env *Env) getRoot(writer http.ResponseWriter, req *http.Request) {
if req.URL.Path != "" { if req.URL.Path != "/" {
http.NotFound(writer, req) http.NotFound(writer, req)
return return
} }