Module content

Module content 

Source
Expand description

An elegant and lightweight Rust-based literal template engine for managing web content, enhanced with a world module for streamlined regional and city information, as well as robust MIME type management.

§HTML Module

A set of functions and macros for generating and manipulating various content.

Macros§

do_html
do_html!($content, $key, and $val)
do_json
do_json!($content, $key1 = $val1, $key2 = $val2, …)
do_replace
do_replace!($content, $key, and $val)
do_xml
do_xml!($content, $key, and $val)

Functions§

alpine
alpine(version)
chart_js
chart_js (version)
do_forloop
do_forloop(vector, befor_items, befor_item, after_item, after_items)
do_text
do_text(t)