StaticSiteContext

class StaticSiteContext(val root: File, val args: Args, val sourceLinks: SourceLinks, val snippetCompilerArgs: SnippetCompilerArgs, val snippetChecker: SnippetChecker)(using val outerCtx: CompilerContext)
class Object
trait Matchable
class Any

Value members

Concrete methods

def driFor(dest: Path): DRI
def pathFromRoot(myTemplate: LoadedTemplate): Path
def relativize(path: Path): Path

Concrete fields

val args: Args

Handles redirecting from multiple locations to one page

Handles redirecting from multiple locations to one page

For each entry in redirectFrom setting, create a page which contains code that redirects you to the page where the redirectFrom is defined.

val root: File

Givens