Temple v0.4.0 API Reference

Modules

This module contains the primitives used to generate the macros in the Temple.Html and Temple.Svg modules.

Temple provides a templating engine for use in Phoenix web applications.

This modules wraps all of the functions from the Phoenix.HTML.Form module to make them compatible with with Temple.

The Temple.Html module defines macros for all HTML5 compliant elements.

This modules wraps all of the functions from the Phoenix.HTML.Link module to make them compatible with with Temple.

The Temple.Svg module defines macros for all SVG elements.

Mix Tasks

Converts HTML to Temple syntax

Generates controller, views, and context for an HTML resource in Temple.

Generates a Phoenix layout file in Temple.