import { Source } from "https://deno.land/x/lume@v1.15.3/core.ts";
Scan and load files from the source folder with the data, pages, assets and static files
Methods
addIgnoredPath(path: string)
addIgnoreFilter(filter: ScopeFilter)
addStaticPath(from: string, to?: string | ((path: string) => string))
getComponentsExtraCode(): Page[]
Returns the pages with extra code generated by the components
getContent(): [Page[], StaticFile[]]
globalData: Map<string, Data>,
parentComponents: Components,
pageFilters: ((page: Page) => boolean)[],
Return the site content
load()
Load all sources
update(file: string, onDemand?): Promise<void>
Update a file