oops
This commit is contained in:
parent
5e8bdd7020
commit
19aac8b74c
|
@ -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, "-", "")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue