2022-11-21 08:52:22 +00:00
|
|
|
{% 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 -%}
|
2022-12-30 12:14:18 +00:00
|
|
|
|
2022-11-21 08:52:22 +00:00
|
|
|
<!DOCTYPE html>
|
2023-04-25 14:34:09 +00:00
|
|
|
<html lang="en"
|
2023-04-27 12:56:27 +00:00
|
|
|
{%- if IS_DKD() and not (v and v.theme == 'light') -%}
|
2023-05-01 15:53:27 +00:00
|
|
|
style="--primary:#2AAA8A"
|
2023-04-25 14:34:09 +00:00
|
|
|
{%- elif not IS_FISTMAS() -%}
|
|
|
|
style="--primary:#{{v.themecolor if v else DEFAULT_COLOR}}"
|
|
|
|
{%- endif -%}
|
|
|
|
>
|
2022-11-21 08:52:22 +00:00
|
|
|
<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 %}
|
2022-11-21 20:54:21 +00:00
|
|
|
{{html_head.page_meta(self.pagetitle() or none)}}
|
2022-11-21 08:52:22 +00:00
|
|
|
{{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>
|
2022-12-30 12:14:18 +00:00
|
|
|
<body {% block body_attributes %}id="{%block pagetype %}{% endblock %}"{% endblock %}>
|
2023-05-01 17:15:39 +00:00
|
|
|
{% if v %}
|
|
|
|
<input id="vid" hidden value="{{v.id}}">
|
|
|
|
{% else %}
|
|
|
|
<input id="vid" hidden value="">
|
|
|
|
{% endif %}
|
|
|
|
|
2023-01-02 03:49:26 +00:00
|
|
|
<input hidden id="gnonce" value="{{g.nonce}}">
|
2023-01-02 03:50:49 +00:00
|
|
|
<input hidden id="gbrowser" value="{{g.browser}}">
|
2023-03-07 04:44:11 +00:00
|
|
|
<input hidden id="IMAGE_FORMATS" value="{{IMAGE_FORMATS}}">
|
2023-04-29 20:50:47 +00:00
|
|
|
<input hidden id="approved_embed_hosts" value="{{approved_embed_hosts}}">
|
2023-01-02 03:49:26 +00:00
|
|
|
<script src="{{'js/top.js' | asset}}"></script>
|
2022-11-21 08:52:22 +00:00
|
|
|
{% block body required %}{% endblock %}
|
2022-11-28 22:48:15 +00:00
|
|
|
{{html_head.stylesheets_lower()}}
|
2023-02-01 15:30:42 +00:00
|
|
|
<script defer src="{{'js/bottom.js' | asset}}"></script>
|
2023-04-29 21:07:37 +00:00
|
|
|
|
|
|
|
{% if SITE_NAME == 'rDrama' %}
|
|
|
|
<div id="marseko"></div>
|
2023-05-03 18:32:19 +00:00
|
|
|
<div id="marseko-heart" class="d-none"></div>
|
2023-04-29 21:07:37 +00:00
|
|
|
<script defer src="{{'js/marseko.js' | asset}}"></script>
|
|
|
|
{% endif %}
|
2022-11-21 08:52:22 +00:00
|
|
|
</body>
|
|
|
|
</html>
|