2022-11-21 08:52:22 +00:00
{%- extends 'root.html' -%}
2022-11-27 22:17:18 +00:00
{% block body_attributes %}id="{% if request.path != '/comments' %}{% block pagetype %}frontpage{% endblock %}{% endif %}" {% if SITE_NAME == 'rDrama' and v and (v.is_banned or v.agendaposter) %}style="overflow-x: hidden;background:url(/assets/images/backgrounds/anime/1.webp?v=3) center center fixed; background-color: var(--background)"{% elif v and v.background %}style="{% if path != '/formatting' %}overflow-x: hidden; {% endif %} 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 %}"{% elif not v %}style="{% if path != '/formatting' %}overflow-x: hidden; {% endif %} background:url(/assets/images/backgrounds/glitter/1.webp?v=3) center center fixed; background-color: var(--background);background-size: cover"{% endif %}{% endblock %}
2022-11-21 08:52:22 +00:00
{% block body %}
{% block banner %}
2022-11-15 19:14:29 +00:00
{% include "modals/expanded_image.html" %}
2022-10-08 02:04:46 +00:00
2022-11-15 01:28:43 +00:00
{% if '@' not in request.path %}
{% if sub and SITE_NAME != WPD %}
{% set src = sub.banner_url %}
{% set alt = ['/h/', sub, 'banner']|join %}
2022-11-16 17:03:14 +00:00
{% set class = 'site-banner-hole' %}
2022-11-15 01:28:43 +00:00
{% elif SITE_NAME == "rDrama" %}
{% set href = "https://secure.transequality.org/site/Donation2?df_id=1480" %}
2022-11-15 01:38:50 +00:00
{% set expand = false %}
2022-05-04 23:09:46 +00:00
{% endif %}
2022-11-21 08:52:22 +00:00
{{macros.banner(src, href, alt, expand, class)}}
2022-05-04 23:09:46 +00:00
{% endif %}
{% endblock %}
{% include "header.html" %}
2022-11-21 08:52:22 +00:00
{% block mobileUserBanner %}{% endblock %}
2022-05-04 23:09:46 +00:00
< div class = "container" >
< div class = "row justify-content-around" id = "main-content-row" >
< div class = "col h-100 {% block customPadding %}{% if request.path.startswith('/@') %}user-gutters{% else %}custom-gutters{% endif %}{% endblock %}" id = "main-content-col" >
2022-11-21 08:52:22 +00:00
{% block desktopUserBanner %}{% endblock %}
{% block desktopBanner %}{% endblock %}
{% block PseudoSubmitForm %}{% endblock %}
{% block searchText %}{% endblock %}
{% block content %}{% endblock %}
{% block pagenav %}{% endblock %}
2022-05-04 23:09:46 +00:00
< / div >
{% block sidebar %}
2022-09-29 11:50:03 +00:00
{% if has_sidebar and (home or p) %}
2022-05-04 23:09:46 +00:00
{% include "sidebar_" + SITE_NAME + ".html" %}
{% endif %}
{% endblock %}
< / div >
< / div >
2022-11-21 08:52:22 +00:00
{% block mobilenavbar %}{% include "mobile_navigation_bar.html" %}{% endblock %}
{% block actionsModal %}{% endblock %}
{% block reportCommentModal %}{% endblock %}
{% block GIFtoast %}{% endblock %}
{% block GIFpicker %}{% endblock %}
2022-05-04 23:09:46 +00:00
< div class = "toast clipboard" id = "toast-success" role = "alert" aria-live = "assertive" aria-atomic = "true" data-bs-animation = "true" data-bs-autohide = "true" data-bs-delay = "5000" >
< div class = "toast-body text-center" >
< i class = "fas fa-check-circle text-success mr-2" > < / i > Link copied to clipboard
< / div >
< / div >
< div class = "toast" id = "toast-post-success" style = "position: fixed; bottom: 1.5rem; margin: 0 auto; left: 0; right: 0; width: 275px; z-index: 1000" role = "alert" aria-live = "assertive" aria-atomic = "true" 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: 1000" role = "alert" aria-live = "assertive" aria-atomic = "true" 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-18 19:16:40 +00:00
< script defer src = "{{'js/vendor/lozad.js' | asset}}" > < / script >
< script defer src = "{{'js/vendor/lite-youtube.js' | asset}}" > < / script >
2022-11-21 08:52:22 +00:00
{% if not err and v and v.spider %}
2022-11-18 19:16:40 +00:00
< script defer src = "{{'js/vendor/critters.js' | asset}}" > < / script >
2022-09-24 07:04:06 +00:00
< script defer src = "{{'js/spider.js' | asset}}" > < / script >
2022-09-20 17:52:52 +00:00
{% endif %}
2022-11-21 08:52:22 +00:00
{% endblock %}