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

x/lume/plugins/nav.ts>Nav

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
class Nav
import { Nav } from "https://deno.land/x/lume@v1.19.0/plugins/nav.ts";

Search helper

Constructors

new
Nav(searcher: Searcher)

Methods

breadcrumb(
url: string,
query?: string,
sort?: string,
): NavData[]

Clear the cache (used after a change in watch mode)

menu(
url?: "/",
query?: string,
sort?: string,
): NavData
menu(
url: string,
query?: string,
sort?: string,
): NavData | undefined