Generates a sitemap.xml document listing every public URL on the blog.
Summary
Functions
Build a sitemap XML document for the given published posts.
Functions
@spec generate( [StaticBlog.Post.t()], keyword() ) :: binary()
Build a sitemap XML document for the given published posts.
Arguments
postsis the list of published posts to include.siteis the site configuration keyword list.
Returns
- A binary containing the complete sitemap XML document.