Current section
Files
Jump to
Current section
Files
README.md
# sitemapb
A sitemap XML builder for Gleam
[](https://hex.pm/packages/sitemapb)
[](https://hexdocs.pm/sitemapb/)
```sh
gleam add sitemapb@1
```
```gleam
import sitemapb
pub fn main() {
let site = [
"https://example.com/one",
"https://example.com/two",
"https://example.com/three",
]
// Render it!
sitemapb.render_basic(site)
}
```
Further documentation can be found at <https://hexdocs.pm/sitemapb> and
<https://www.sitemaps.org/protocol.html>.