import { default } from "https://deno.land/x/lume@v1.14.1/core/site.ts";
This is the heart of Lume, it contains everything needed to build the site
Methods
Add a listener to an event
Build the entire site
Save into the cache the content of a file
Clear the dest directory and any cache
Register an extra component accesible by the layouts
Copy static files or directories without processing
Register extra data accessible by the layouts
Returns the full path to the dest directory. Use the arguments to return a subpath
Dispatch an event
Register the engines for some extensions
Register a template filter
Get the content of a file. Resolve the path if it's needed.
Register a template helper
Ignore one or several files or directories
Register an import path for some extensions
Register an assets loader for some extensions
Register a component loader for some extensions
Register a data loader for some extensions
Register a page loader for some extensions
Register a preprocessor for some extensions
Register a multipreprocessor for some extensions
Register a processor for some extensions
Register a multiprocessor for some extensions
Define a remote fallback for a missing local file
Render a single page (used for on demand rendering)
Returns the full path to the root directory. Use the arguments to return a subpath
Runs a script or function registered previously
Define independent scopes to optimize the update process
Register a script or a function, so it can be executed with lume run
Returns the full path to the src directory. Use the arguments to return a subpath
Reload some files that might be changed
Return the URL of a path
Use a plugin