{%- extends 'root.html' -%} {% block body_attributes %}id="{% if request.path != '/comments' %}{% block pagetype %}frontpage{% endblock %}{% endif %}"{% endblock %} {% block body %} {% block banner %} {% include "modals/expanded_image.html" %} {% if err or '@' not in request.path %} {% if HOLIDAY_EVENT and not sub %} {% include 'event/banner.html' %} {% else %} {% if err and SITE_NAME == 'rDrama' %} {% set src = "banner_error.webp" | asset_siteimg %} {% elif sub and sub.has_banners %} {% set src = sub.random_banner() %} {% set alt = ['/h/', sub, 'banner']|join %} {% set class = 'site-banner-hole' %} {% elif SITE_NAME == "rDrama" %} {% set href = "https://secure.transequality.org/site/Donation2?df_id=1480" %} {% set expand = false %} {% endif %} {% if SITE_NAME == "WPD" %} {% if sub %} {% set href = "/h/" ~ sub %} {% set expand = false %} {% else %} {% set href = "/" %} {% set expand = false %} {% endif %} {% endif %} {{macros.banner(src, href, alt, expand, class)}} {% endif %} {% endif %} {% endblock %} {% include "header.html" %} {% block mobileUserBanner %}{% endblock %}
{% block desktopUserBanner %}{% endblock %} {% block desktopBanner %}{% endblock %} {% block PseudoSubmitForm %}{% endblock %} {% block searchText %}{% endblock %} {% block content %}{% endblock %} {% block pagenav %}{% endblock %}
{% block sidebar %} {% if has_sidebar and (home or p) %} {% set sidebar = "sidebar_" ~ SITE_NAME ~ ".html" %} {% include sidebar %} {% endif %} {% endblock %}
{% block mobilenavbar %}{% include "mobile_navigation_bar.html" %}{% endblock %} {% block actionsModal %}{% endblock %} {% block reportCommentModal %}{% endblock %} {% block GIFtoast %}{% endblock %} {% block GIFpicker %}{% endblock %} {% if not err and v and v.spider %} {% endif %} {% if g.browser == 'apple' %} {% endif %} {% block footer %} {% endblock %} {% endblock %}