infuse v0.1.4 Simplate

Summary

Functions

Returns a default content type set by config or app

Returns a default renderer set by config or app

Takes contents, executes the first page and quotes the second page for later

Opens a simplate, sends to load

Render a simplate, returning the output, will eventually be moved

Functions

default_content_type()

Returns a default content type set by config or app

default_renderer()

Returns a default renderer set by config or app

determine_routes(path)
load(contents, file \\ nil)

Takes contents, executes the first page and quotes the second page for later

load_file(file, partial_path \\ nil)

Opens a simplate, sends to load

render(simplate)

Render a simplate, returning the output, will eventually be moved.

render(simplate, content_type)