package cethttp import ( "html/template" "strings" "github.com/senaduka/cetvorke/database" ) const editorTemplate = ` IslamBosna
☙ IslamBosna
{{.MarkdownContent}}
` func editorHtml5Page(post *database.Post) string { t1 := template.New("editorHtml5Page") t1, _ = t1.Parse(editorTemplate) result := new(strings.Builder) t1.Execute(result, post) return result.String() }