paginate: convert md to html
1 files changed, 4 insertions(+), 0 deletions(-) M builder/templates.go
M builder/templates.go => builder/templates.go +4 -0
@@ 37,6 37,10 @@ func getTemplateFuncs(config *config.BlazeConfig) template.FuncMap { return nil } + for _, p := range pages { + p.Content = ToHTML(p.Content) + } + // Sort descending order of the date sort.Slice(pages, func(i, j int) bool { return pages[j].Date.Before(pages[i].Date)