diff --git a/main.go b/main.go index 004e521..e50d4e3 100644 --- a/main.go +++ b/main.go @@ -1223,6 +1223,7 @@ func main() { return } }) + http.Handle("/search/", sh) http.Handle("/public/", http.StripPrefix("/public/", http.FileServer(http.Dir("./dist")))) http.Handle("/save/", &saveHandler{}) diff --git a/templates/calendar.html b/templates/calendar.html index 1ff51ed..40bd4d9 100644 --- a/templates/calendar.html +++ b/templates/calendar.html @@ -6,22 +6,8 @@ >
-
-
m
-
d
-
w
-
d
-
v
-
z
-
z
- {{ range .Days }} -
- - {{ .Text }} - {{ .Count }} - -
- {{ end }} +
m
d
w
d
v
z
z
+ {{ range .Days -}}
{{ .Text }}
{{ end }}
{{ end }}