Skip to main content
Module

x/lume/core.ts>IncludesLoader

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
class IncludesLoader
Re-export
import { IncludesLoader } from "https://deno.land/x/lume@v1.13.1/core.ts";

Class to load _includes files.

Constructors

new
IncludesLoader(options: Options)

Properties

includes: string

Default _includes path

reader: Reader

The filesystem reader

Methods

load(
path: string,
format: Format,
from?: string,
): Promise<[string, Data] | undefined>
resolve(
path: string,
format: Format,
from?: string,
): string | undefined