Skip to main content

Module html

Module html 

Source
Expand description

Static HTML generator for case and entity pages.

Produces semantic HTML fragments (no <html>/<head>/<body> wrapper) suitable for embedding in a Phoenix layout. Each fragment includes data-og-* attributes on the root element for meta tag extraction, Schema.org microdata, and a <script type="application/ld+json"> block.

Functionsยง

render_case
Generate a complete case page HTML fragment.
render_organization
Generate an organization page HTML fragment.
render_person
Generate a person page HTML fragment.
render_sitemap
Generate a sitemap XML string.