hugo-micropub/microformat.go

21 lines
762 B
Go
Raw Normal View History

package main
type MicroformatItem struct {
Type []string `json:"type"`
Properties *MicroformatProperties `json:"properties"`
}
type MicroformatProperties struct {
2019-12-22 12:58:50 +00:00
Name []string `json:"name,omitempty"`
Published []string `json:"published,omitempty"`
Updated []string `json:"updated,omitempty"`
Category []string `json:"category,omitempty"`
Content []string `json:"content,omitempty"`
Url []string `json:"url,omitempty"`
InReplyTo []string `json:"in-reply-to,omitempty"`
LikeOf []string `json:"like-of,omitempty"`
2020-01-01 19:39:16 +00:00
BookmarkOf []string `json:"bookmark-of,omitempty"`
2019-12-22 12:58:50 +00:00
MpSlug []string `json:"mp-slug,omitempty"`
MpSyndicateTo []string `json:"mp-syndicate-to,omitempty"`
}