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@v1.19.0/plugins/sitemap.ts";

Properties

filename: string

The sitemap file name

query: string

The query to search pages included in the sitemap

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