Skip to main content

build_html_shell

Function build_html_shell 

Source
pub fn build_html_shell(
    title: &str,
    version: &str,
    content_html: &str,
) -> String
Expand description

Wrap content_html in the Hematite dark-theme shell. content_html is everything inside .wrap — assemble header cards, sections, etc. in the caller. The shell provides CSS, JS, and the footer.