hugo-micropub/microformat.go

19 lines
612 B
Go
Raw Normal View History

package main
type MicroformatItem struct {
Type []string `json:"type"`
Properties *MicroformatProperties `json:"properties"`
}
type MicroformatProperties struct {
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"`
MpSlug []string `json:"mp-slug,omitempty"`
}