Skip to main content
Module

x/lume/plugins/modify_urls.ts>Options

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

Properties

optional
extensions: string[]

The list of extensions this plugin applies to

fn: (
url: string,
page: Page,
element: Element,
) => string | Promise<string>

The function to generate the new url