diff --git a/blog/atom/atom.go b/blog/atom/atom.go index f12c31de6a..542c50e6e4 100644 --- a/blog/atom/atom.go +++ b/blog/atom/atom.go @@ -34,8 +34,12 @@ type Entry struct { } type Link struct { - Rel string `xml:"rel,attr"` - Href string `xml:"href,attr"` + Rel string `xml:"rel,attr,omitempty"` + Href string `xml:"href,attr"` + Type string `xml:"type,attr,omitempty"` + HrefLang string `xml:"hreflang,attr,omitempty"` + Title string `xml:"title,attr,omitempty"` + Length uint `xml:"length,attr,omitempty"` } type Person struct {