diff --git a/cmd/site/html.go b/cmd/site/html.go index 6a8c2a8..a1d5040 100644 --- a/cmd/site/html.go +++ b/cmd/site/html.go @@ -169,7 +169,7 @@ func (s *Site) showPost(w http.ResponseWriter, r *http.Request) { if len(p.Tags) != 0 { for _, t := range p.Tags { - tags = tags + " #" + strings.Replace(t, "-", "") + tags = tags + " #" + strings.ReplaceAll(t, "-", "") } }