View Source Fermo (Fermo v0.18.0)

Fermo provides the main entry points for configuring a project

Summary

Functions

Link to this function

page(config, template, filename, params \\ nil)

View Source

Add a page to the configuration

pages are the main way to add dynamic pages to Fermo.

Examples

page(
  config,
  "/templates/home.html.slim",
  "/index.html",
  %{id: "home", path: "/"}
)
Link to this function

paginate(config, template, options \\ %{}, context \\ %{}, fun \\ nil)

View Source