Still.Preprocessor.AddLayout (Still v0.4.0) View Source
Still.Preprocessor that renders the layout of a given file and wraps it
around the content of that same file.
Note that this rendering happens outside Still.Compiler.CompilationStage.
For this preprocessor to work, it requires a :layout key in the metadata,
which can be set in the frontmatter and then added to the metadata by
Still.Preprocessor.Frontmatter.
Link to this section Summary
Functions
Returns the extension for the current file.
Sets the extension for the current file and calls the render/1 function.
Link to this section Functions
Specs
extension(Still.SourceFile.t()) :: String.t()
Returns the extension for the current file.
This function can be overridden.
Specs
run(Still.SourceFile.t()) :: Still.SourceFile.t()
Sets the extension for the current file and calls the render/1 function.