rDrama/files/templates/root.html

29 lines
1.1 KiB
HTML

{% set root_scope = namespace() %}
{% block template_config %}
{% set root_scope.js = true %}
{% set root_scope.include_user_css = true %}
{% set root_scope.include_seo = true %}
{% set root_scope.include_cf_2fa_verify = false %}
{% endblock %}
{%- import 'util/macros.html' as macros with context -%}
{%- import 'util/html_head.html' as html_head with context -%}
<!DOCTYPE html>
<html lang="en" style="--primary:#{{v.themecolor if v else DEFAULT_COLOR}}">
<head>
{% block head %}
<meta charset="utf-8">
{% block title %}<title>{% block pagetitle %}if you see this pls report it as a bug &lt;3{% endblock %} - {{SITE_NAME}}</title>{% endblock %}
{{html_head.page_meta(self.pagetitle() or none)}}
{{html_head.javascript() if root_scope.js}}
{{html_head.stylesheets(root_scope.include_user_css)}}
{{html_head.seo() if root_scope.include_seo}}
{{html_head.cf_2fa_verify() if root_scope.include_2fa_verify}}
{% block head_final %}{% endblock %}
{% endblock %}
</head>
<body {% block body_attributes %}id="{%block pagetype %}{% endblock %}"{% endblock %}>
{% block body required %}{% endblock %}
{{html_head.stylesheets_lower()}}
</body>
</html>