Still.Preprocessor.Frontmatter (Still v0.3.1) View Source

Parses the file's frontmatter and adds they key/value pairs to the corresponding Still.SourceFile's :metadata field.

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

Sets the extension for the current file and calls the render/1 function.