func RenderFeedAtom(ctx *webapp.Context) error { vars := make(map[string]interface{}) vars["Declaration"] = template.HTML("<?xml version=\"1.0\" encoding=\"UTF-8\"?>") data := MakeData(ctx, vars) data.Flags.Feed = true ctx.SetHeader("Content-Type", "application/atom+xml") err := ctx.Execute(feedTPL, &data) return err }