Related to (#421): Fixed base template Blog, Blog Post, Login, App pages Started with porting Unit Template to Website Group Template
56 lines
No EOL
1.6 KiB
HTML
56 lines
No EOL
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{{ title }}</title>
|
|
<meta name="generator" content="wnframework">
|
|
<script type="text/javascript" src="/assets/webnotes/js/lib/jquery/jquery.min.js"></script>
|
|
|
|
<link rel="shortcut icon" href="{{ favicon | scrub_relative_url }}" type="image/x-icon">
|
|
<link rel="icon" href="{{ favicon | scrub_relative_url }}" type="image/x-icon">
|
|
|
|
{%- block head -%}
|
|
{%- if meta_description -%}
|
|
<meta name="description" content="{{ meta_description }}">
|
|
{%- endif -%}
|
|
|
|
{%- for link in web_include_js -%}
|
|
<script type="text/javascript" src="/{{ link }}"></script>
|
|
{%- endfor -%}
|
|
|
|
{%- for link in web_include_css -%}
|
|
<link type="text/css" rel="stylesheet" href="/{{ link }}">
|
|
{%- endfor -%}
|
|
{%- endblock -%}
|
|
|
|
{%- block javascript -%}
|
|
{%- if javascript -%}
|
|
<script>{{ javascript }}</script>
|
|
{%- endif -%}
|
|
{%- endblock -%}
|
|
|
|
{%- block css -%}
|
|
{%- if css -%}
|
|
<style>{{ css }}</style>
|
|
{%- endif -%}
|
|
{%- endblock -%}
|
|
|
|
{%- block style -%}{%- endblock -%}
|
|
</head>
|
|
<body>
|
|
{%- block banner -%}
|
|
{% if banner_html -%}
|
|
<header class="container">{{ banner_html or "" }}</header>
|
|
{%- endif %}
|
|
{%- endblock -%}
|
|
|
|
{%- block navbar -%}{% include "templates/includes/navbar.html" %}{%- endblock -%}
|
|
|
|
<div class="page-container" id="page-{{ name or page_name }}">
|
|
{%- block content -%}{{ content }}{%- endblock -%}
|
|
</div>
|
|
|
|
{%- block footer -%}{% include "templates/includes/footer.html" %}{%- endblock -%}
|
|
</body>
|
|
</html> |