1 2 3 4 5 6 7
//! Twig-include analogue without a template engine. /// Runs `body` and returns its HTML fragment (named nesting for builders). #[must_use] pub fn partial(body: impl FnOnce() -> String) -> String { body() }