package blogviewer import "html/template" type BlogFileData struct { Header string `bson:"header"` Blocks []*Block `bson:"blocks"` } type Block struct { Type string `bson:"type"` Data []string `bson:"data"` } type RenderedBlock struct { Type string `bson:"type"` Data []template.HTML `bson:"data"` }