Skip to main content

template_layout_page_json

Function template_layout_page_json 

Source
pub fn template_layout_page_json(
    app_root: &Path,
    layout_id: Option<&str>,
    current_lang: Option<&str>,
    title: &str,
    body: &str,
    current_request_target: Option<&str>,
    has_user: bool,
    managed_business_count: i64,
) -> Option<String>
Expand description

Performs template layout page JSON.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::template_layout_page_json can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::template_layout_page_json(std::path::Path::new("apps/dev_docs"), todo!(), todo!(), todo!(), b"", todo!(), todo!(), todo!());