natter/default_environment/templates/html/main.dust

20 lines
809 B
Plaintext
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
2023-10-24 01:51:15 +00:00
{#global_settings.css_files}<link rel="stylesheet" href="{.}">{/global_settings.css_files}
{#global_settings.js_files}<script type="text/javascript" src="{.}"></script>{/global_settings.js_files}
{?global_settings.page_title}<title>{global_settings.page_title}</title>{/global_settings.page_title}
</head>
2023-12-20 00:23:56 +00:00
<body class="page_centering">
2023-12-17 19:39:20 +00:00
{#.page_header}{>page_header/}{/.page_header}
2023-12-20 00:23:56 +00:00
<main class="main_content">
2023-10-24 01:51:15 +00:00
{@select key=.type}
{@eq value="blog_post_page"}{>blog_post_page/}{/eq}
{@eq value="blog_stream"}{>blog_stream/}{/eq}
2023-10-24 01:51:15 +00:00
{@none}{!TODO: make this panic!}ERROR: Unrecognized page content type{/none}
{/select}
2023-12-20 00:23:56 +00:00
</main>
</body>
</html>