2022-11-21 08:52:22 +00:00
|
|
|
{% set root_scope = namespace() %}
|
|
|
|
{% block template_config %}
|
|
|
|
{% 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() -%}
|
2023-08-12 13:22:47 +00:00
|
|
|
{% set primary = v.themecolor if v else DEFAULT_COLOR %}
|
|
|
|
{% set primary_rgb = primary|rgb %}
|
|
|
|
style="--primary:#{{primary}};--primary_rgb:{{primary_rgb}}"
|
2023-04-25 14:34:09 +00:00
|
|
|
{%- 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)}}
|
2023-08-11 21:50:23 +00:00
|
|
|
{{html_head.javascript()}}
|
2022-11-21 08:52:22 +00:00
|
|
|
{{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>
|
2023-08-16 20:41:25 +00:00
|
|
|
<body {% block body_attributes %}id="{% block pagetype %}{% endblock %}"{% endblock %}>
|
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-07-22 16:24:16 +00:00
|
|
|
<input hidden id="SITE_FULL_IMAGES" value="{{SITE_FULL_IMAGES}}">
|
2023-08-12 18:28:21 +00:00
|
|
|
|
|
|
|
{% if v %}
|
|
|
|
<input hidden id="MAX_IMAGE_AUDIO_SIZE_MB" value="{{MAX_IMAGE_AUDIO_SIZE_MB}}">
|
|
|
|
<input hidden id="MAX_IMAGE_AUDIO_SIZE_MB_PATRON" value="{{MAX_IMAGE_AUDIO_SIZE_MB_PATRON}}">
|
|
|
|
<input hidden id="MAX_VIDEO_SIZE_MB" value="{{MAX_VIDEO_SIZE_MB}}">
|
|
|
|
<input hidden id="MAX_VIDEO_SIZE_MB_PATRON" value="{{MAX_VIDEO_SIZE_MB_PATRON}}">
|
|
|
|
{% endif %}
|
|
|
|
|
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
|
|
|
|
2023-08-13 13:23:42 +00:00
|
|
|
{% if (v and v.cursormarsey) or (not v and CURSORMARSEY_DEFAULT) %}
|
2023-05-04 15:30:12 +00:00
|
|
|
<div id="cursormarsey"></div>
|
|
|
|
<div id="cursormarsey-heart" class="d-none"></div>
|
|
|
|
<script defer src="{{'js/cursormarsey.js' | asset}}"></script>
|
2023-04-29 21:07:37 +00:00
|
|
|
{% endif %}
|
2023-06-30 19:39:19 +00:00
|
|
|
<script defer src="{{'js/pwa_pulltorefresh.js' | asset}}"></script>
|
2023-08-11 21:50:23 +00:00
|
|
|
<div class="toast" id="toast-post-success" style="position: fixed; bottom: 1.5rem; margin: 0 auto; left: 0; right: 0; width: 275px; z-index: 100000" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
|
|
|
|
<div class="toast-body bg-success text-center text-white">
|
|
|
|
<i class="fas fa-comment-alt-smile mr-2"></i><span id="toast-post-success-text">Action successful!</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="toast" id="toast-post-error" style="position: fixed; bottom: 1.5rem; margin: 0 auto; left: 0; right: 0; width: 275px; z-index: 100000" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
|
|
|
|
<div class="toast-body bg-danger text-center text-white">
|
|
|
|
<i class="fas fa-exclamation-circle mr-2"></i><span id="toast-post-error-text">Error, please try again later.</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-11-21 08:52:22 +00:00
|
|
|
</body>
|
|
|
|
</html>
|