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

x/lume/core/filesystem.ts>Src

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface Src
import { type Src } from "https://deno.land/x/lume@v1.14.1/core/filesystem.ts";

The .src property for a Page or Directory

Properties

slug: string

The slug name of the file or directory

asset: boolean

If the page was loaded as asset or not

path: string

The path to the file (without extension)

optional
ext: string

The extension of the file (undefined for folders)

optional
lastModified: Date

The last modified time

optional
created: Date

The creation time

optional
remote: string

The remote url (if the file was downloaded)