infuse v0.2.0 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)
find_by_fullpath(path)
get(simplate_path)
load(contents, fs_path \\ nil, web_path \\ 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

reload(simplate)
render(simplate)

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

render(simplate, content_type)