pub fn register_tera_function(tera: &mut Tera)Expand description
Register the pageurl Tera function and the | pageurl filter
on tera. Call once at Tera setup — wired from
crate::urls::register_tera_helpers so host apps that use the
bundled register_templates get it for free.
Both forms are marked is_safe = true: the URL is read from the
cms_page.url_path column maintained by tree_ops, which is
CMS-controlled, not user input, so the output can flow into
href=… unescaped.