GriffinSSG.Layouts (Griffin v0.4.2)

View Source

Module responsible for compiling layouts. Stores compiled layouts in an ETS table. Supports nested layouts with a maximum nesting depth of 10.

Summary

Functions

Fetches the compiled layout by name.

Fetches the assigns for a layout by name. Returns an empty map if there are no assigns.

Functions

compile_layouts(layouts_dir)

fallback_list_collection_layout()

fallback_show_collection_layout()

get_compiled_layout(name)

Fetches the compiled layout by name.

get_layout_assigns(name)

Fetches the assigns for a layout by name. Returns an empty map if there are no assigns.