diff --git a/assets/style.css b/assets/style.css index 3a60d19..0d06dc3 100644 --- a/assets/style.css +++ b/assets/style.css @@ -32,6 +32,7 @@ a { .status-content { margin: 0 1em 0.5em 1em; + word-break: break-all; } .status nav { diff --git a/web/handler/common.go b/web/handler/common.go index bee2441..45a3bf9 100644 --- a/web/handler/common.go +++ b/web/handler/common.go @@ -72,5 +72,6 @@ var TplCommonMap = map[string]string{ -{{ end }}`, +{{ end }} +`, } diff --git a/web/handler/html.go b/web/handler/html.go index 6444e95..bf1fa0a 100644 --- a/web/handler/html.go +++ b/web/handler/html.go @@ -149,7 +149,11 @@ var TplMap = map[string]string{ {{ template "status_form" .status }} {{ end }}`, - "index": `{{ define "content" }} + "index": `{{ define "head" }} + +{{ end }} + +{{ define "content" }}


status.cafe is a place to share your current status.
{{ end }} -



status.cafe is a place to share your current status.
{{ end }} -
