package web import "net/http" import "strings" import "time" import "git.arav.su/Arav/dwelling-home/pkg/mindflow" import "git.arav.su/Arav/dwelling-home/pkg/util" templ RSS(host, author string, posts []mindflow.Post, r *http.Request) { @templ.Raw("") Arav's dwelling What's going on with me and my machines. en-gb { host } for _, post := range posts { { post.Title } { post.Category.Name } { post.PostID() } { util.ToClientTimezone(post.Date, r).Format(time.RFC1123Z) } { post.PostURL(r.Host, true) } { author } @templ.Raw("{ line }

} @templ.Raw("]]>")
}
}