43 lines
1.6 KiB
HTML
43 lines
1.6 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">
|
|
<head>
|
|
{% block head %}
|
|
<meta charset="utf-8">
|
|
{% block title %}<title>{% block pagetitle %}if you see this pls report it as a bug <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 %}
|
|
<style>
|
|
body {
|
|
{% if SITE_NAME == 'rDrama' and (not v or v.is_banned or v.agendaposter) %}
|
|
background:url(/assets/images/backgrounds/glitter/1.webp?v=3) center center fixed;
|
|
background-color: var(--background);
|
|
background-size: cover;
|
|
{% elif v and v.background %}
|
|
background:url(/assets/images/backgrounds/{{v.background}}?v=3) center center fixed;
|
|
background-color: var(--background);
|
|
{% if 'anime' not in v.background %}
|
|
background-size: cover;
|
|
{% endif %}
|
|
{% endif %}
|
|
}
|
|
</style>
|
|
</body>
|
|
</html>
|