package article import ( "html/template" "time" ) type Format string const ( FormatMarkdown Format = "markdown" FormatHTML Format = "html" ) type Article struct { Title string Slug string Date time.Time Cover string Body template.HTML Description string Counter int64 Format Format SourcePath string } type ListPage struct { Title string Description string Articles []Article } type StaticPage struct { Title string Slug string Description string Body template.HTML Format Format SourcePath string }