Fill in some links
This commit is contained in:
parent
186f24e486
commit
fc2fadedd3
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user