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

x/lume/deps/nunjucks.ts>default.Template

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
class default.Template
import { default } from "https://deno.land/x/lume@v1.15.3/deps/nunjucks.ts";
const { Template } = default;

Constructors

new
Template(
src: string,
path?: string,
eagerCompile?: boolean,
)

Methods

render(context?: object): string
render(context?: object, callback?: TemplateCallback<string>): void