diff --git a/handlers/editor.go b/handlers/editor.go index 7f2609aa..8440734b 100644 --- a/handlers/editor.go +++ b/handlers/editor.go @@ -49,6 +49,7 @@ func GetEditor(r *http.Request, i *file.Info) (*Editor, error) { goto Error } i.Content = frontmatter.AppendRune(i.Content, e.FrontMatter.Rune) + hasRune = true } if e.Class == "frontmatter-only" && hasRune {