Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/plugins/sitemap.ts>Options

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface Options
import { type Options } from "https://deno.land/x/lume@v2.3.2/plugins/sitemap.ts";

Properties

optional
filename: string

The sitemap file name

optional
query: string

The query to search pages included in the sitemap

optional
sort: string

The values to sort the sitemap

optional
lastmod: string | ((data: Data) => Date)

The key to use for the lastmod field or a custom function

optional
changefreq: string | ((data: Data) => ChangeFreq)

The key to use for the changefreq field or a custom function

optional
priority: string | ((data: Data) => number)

The key to use for the priority field or a custom function