You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sitemap.md 683B

1234567891011121314151617181920212223
  1. +++
  2. title = "Sitemap"
  3. weight = 60
  4. +++
  5. Gutenberg will look for a `sitemap.xml` file in the `templates` directory or
  6. use the built-in one.
  7. The sitemap template gets four variables in addition of the config:
  8. - `pages`: all pages of the site
  9. - `sections`: all sections of the site, including an index section
  10. - `tags`: links the tags page and individual tag page, empty if no tags
  11. - `categories`: links the categories page and individual category page, empty if no categories
  12. As the sitemap only requires a link and an optional date for the `lastmod` field,
  13. all the variables above are arrays of `SitemapEntry` with the following type:
  14. ```ts
  15. permalink: String;
  16. date: String?;
  17. ```