2022-05-27 02:47:32 +00:00
{%- from 'util/assetcache.html' import asset -%}
2022-05-04 23:09:46 +00:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta name = "description" content = "{{config('DESCRIPTION')}}" >
2022-05-27 15:59:50 +00:00
{% if request.path == '/' %}
< meta http-equiv = "Content-Security-Policy" content = "script-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src 'self' tls-use1.fpapi.io api.fpjs.io {% if PUSHER_ID != 'blahblahblah' %}{{PUSHER_ID}}.pushnotifications.pusher.com{% endif %}; object-src 'none';" >
{% else %}
< meta http-equiv = "Content-Security-Policy" content = "script-src 'self' 'unsafe-inline'; connect-src 'self'; object-src 'none';" >
{% endif %}
2022-05-04 23:09:46 +00:00
2022-05-29 04:52:40 +00:00
< script src = "{{asset('js/bootstrap.js')}}" > < / script >
2022-05-04 23:09:46 +00:00
{% if v %}
< style > : root { --primary : # { { v . themecolor } } } < / style >
2022-05-27 02:47:32 +00:00
< link rel = "stylesheet" href = "{{asset('css/main.css')}}" >
2022-05-30 05:50:52 +00:00
< link rel = "stylesheet" href = "{{asset('css/' + v.theme + '.css')}}" >
2022-05-24 19:09:42 +00:00
< link rel = "stylesheet" href = "/assets/css/awards.css?v=7" >
2022-05-04 23:09:46 +00:00
{% if v.agendaposter %}
< style >
html {
cursor:url('/assets/images/dildo.webp?v=1008'), auto;
}
.nav-item .text-small.font-weight-bold::before {
content: "((("
}
.nav-item .text-small.font-weight-bold::after {
content: ")))"
}
.nav-item .text-small-extra.text-primary {
font-size: 0 !important
}
.nav-item .text-small-extra.text-primary i {
font-size: 11px !important
}
< / style >
{% elif v.css %}
< link rel = "stylesheet" href = "/@{{v.username}}/css" >
{% endif %}
{% else %}
< style > : root { --primary : # { { config ( 'DEFAULT_COLOR' ) } } < / style >
2022-05-27 02:47:32 +00:00
< link rel = "stylesheet" href = "{{asset('css/main.css')}}" >
2022-05-04 23:09:46 +00:00
< link rel = "stylesheet" href = "/assets/css/{{config('DEFAULT_THEME')}}.css?v=57" >
2022-05-24 19:09:42 +00:00
< link rel = "stylesheet" href = "/assets/css/awards.css?v=7" >
2022-05-04 23:09:46 +00:00
{% endif %}
{% if request.path == '/catalog' %}
< link rel = "stylesheet" href = "/assets/css/catalog.css?v=1" >
{% endif %}
{% if sub and sub.css and not request.path.endswith('settings') %}
< link rel = "stylesheet" href = "/h/{{sub.name}}/css" type = "text/css" >
{% endif %}
2022-05-10 07:32:11 +00:00
{% if v and v.themecolor == '30409f' %}
< style >
p a {
color: #2a96f3;
}
< / style >
{% endif %}
2022-05-04 23:09:46 +00:00
{% if SITE_NAME == 'rDrama' %}
< style >
.mod:before {
content: '(((';
}
.mod:after {
content: ')))';
}
< / style >
{% endif %}
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1, shrink-to-fit=no" >
2022-05-25 18:36:09 +00:00
< meta name = "thumbnail" content = "/assets/images/{{SITE_NAME}}/site_preview.webp?v=1016" >
2022-05-04 23:09:46 +00:00
2022-05-27 20:03:23 +00:00
< link rel = "icon" type = "image/webp" href = "/assets/images/{{SITE_NAME}}/icon.webp?v=1015" >
2022-05-04 23:09:46 +00:00
{% block title %}
< title > {{SITE_NAME}}< / title >
< meta property = "og:type" content = "article" >
< meta property = "og:title" content = "{{SITE_NAME}}" >
< meta property = "og:site_name" content = "{{request.host}}" >
2022-05-25 18:36:09 +00:00
< meta property = "og:image" content = "/assets/images/{{SITE_NAME}}/site_preview.webp?v=1016" >
2022-05-04 23:09:46 +00:00
< meta property = "og:url" content = "{{SITE_FULL}}{{request.full_path}}" >
< meta property = "og:description" name = "description" content = "{{SITE_NAME}} - {{config('DESCRIPTION')}}" >
< meta property = "og:author" name = "author" content = "{{SITE_FULL}}" >
< meta property = "og:site_name" content = "{{request.host}}" >
< meta name = "twitter:card" content = "summary_large_image" >
< meta name = "twitter:site" content = "{{SITE_FULL}}" >
< meta name = "twitter:title" content = "{{SITE_NAME}}" >
< meta name = "twitter:creator" content = "{{SITE_FULL}}" >
< meta name = "twitter:description" content = "{{SITE_NAME}} - {{config('DESCRIPTION')}}" >
2022-05-25 18:36:09 +00:00
< meta name = "twitter:image" content = "/assets/images/{{SITE_NAME}}/site_preview.webp?v=1016" >
2022-05-04 23:09:46 +00:00
< meta name = "twitter:url" content = "{{SITE_FULL}}{{request.full_path}}" >
{% endblock %}
< meta name = "apple-mobile-web-app-capable" content = "yes" >
< meta name = "apple-touch-fullscreen" content = "yes" >
< meta name = "format-detection" content = "telephone=no" >
< meta name = "viewport" content = "width=device-width,initial-scale=1" >
2022-05-20 14:51:14 +00:00
< link rel = "apple-touch-icon" sizes = "180x180" href = "/assets/images/{{SITE_NAME}}/icon.webp?v=1015" >
2022-05-27 19:30:29 +00:00
< link rel = "manifest" href = "/assets/manifest_{{SITE_NAME}}.json?v=4" >
2022-05-20 14:51:14 +00:00
< link rel = "mask-icon" href = "/assets/images/{{SITE_NAME}}/icon.webp?v=1015" >
< link rel = "shortcut icon" href = "/assets/images/{{SITE_NAME}}/icon.webp?v=1015" >
2022-05-04 23:09:46 +00:00
< meta name = "apple-mobile-web-app-title" content = "{{SITE_NAME}}" >
< meta name = "application-name" content = "{{SITE_NAME}}" >
< meta name = "msapplication-TileColor" content = "#{{config('DEFAULT_COLOR')}}" >
< meta name = "msapplication-config" content = "/assets/browserconfig.xml?v=2" >
< meta name = "theme-color" content = "#{{config('DEFAULT_COLOR')}}" >
< link
rel="apple-touch-startup-image"
sizes="320x480"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="640x960"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-icon"
sizes="640x1136"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-icon"
sizes="750x1334"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="768x1004"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="768x1024"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="828x1792"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="1024x748"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="1024x768"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="1125x2436"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="1242x2208"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="1242x2688"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="1334x750"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="1536x2008"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="1536x2048"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="1668x2224"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="1792x828"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="2048x1496"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="2048x1536"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="2048x2732"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="2208x1242"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="2224x1668"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="2436x1125"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="2668x1242"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
< link
rel="apple-touch-startup-image"
sizes="2737x2048"
2022-05-20 14:51:14 +00:00
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"
2022-05-04 23:09:46 +00:00
>
{% block fixedMobileBarJS %}
{% endblock %}
< / head >
< body 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 %}" { % endif % } >
{% block Banner %}
{% if '@' not in request.path %}
{% if sub %}
< img alt = "/h/{{sub.name}} banner" role = "button" data-bs-toggle = "modal" data-bs-target = "#expandImageModal" onclick = "expandDesktopImage('{{sub.banner_url}}')" loading = "lazy" src = "{{sub.banner_url}}" width = 100% style = "object-fit:cover;max-height:25vw" >
{% elif SITE_NAME == 'rDrama' %}
2022-05-23 05:48:25 +00:00
{% set path = "assets/images/" + SITE_NAME + "/banners" %}
2022-05-19 21:59:35 +00:00
{% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=25' %}
2022-05-04 23:09:46 +00:00
< a href = "https://secure.transequality.org/site/Donation2?df_id=1480" >
{% if v and (v.is_banned or v.agendaposter) %}
< img alt = "site banner" src = "/assets/images/rDrama/banner2.webp?v=1" width = "100%" >
{% else %}
2022-05-30 02:33:07 +00:00
< img alt = "site banner" src = "{% if v %}{{image}}{% else %}/assets/images/rDrama/cached.webp?v=100{% endif %}" width = "100%" >
2022-05-04 23:09:46 +00:00
{% endif %}
< / a >
{% else %}
< a href = "/" >
2022-06-01 20:08:33 +00:00
< img alt = "site banner" src = "/assets/images/{{SITE_NAME}}/banner.webp?v=1048" width = "100%" >
2022-05-04 23:09:46 +00:00
< / a >
{% endif %}
{% endif %}
{% endblock %}
{% include "header.html" %}
{% block mobileUserBanner %}
{% endblock %}
{% block mobileBanner %}
{% endblock %}
{% block postNav %}
{% endblock %}
< 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" >
{% block desktopUserBanner %}
{% endblock %}
{% block desktopBanner %}
{% endblock %}
{% block PseudoSubmitForm %}
{% endblock %}
{% block searchText %}
{% endblock %}
{% block content %}
{% endblock %}
{% block pagenav %}
{% endblock %}
< / div >
{% block sidebar %}
{% if home or sub and p %}
{% include "sidebar_" + SITE_NAME + ".html" %}
{% endif %}
{% endblock %}
< / div >
< / div >
{% block mobilenavbar %}
{% include "mobile_navigation_bar.html" %}
{% endblock %}
{% block actionsModal %}
{% endblock %}
{% block reportCommentModal %}
{% endblock %}
{% block GIFtoast %}
{% endblock %}
{% block GIFpicker %}
{% endblock %}
< 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 >
< script src = "/assets/js/lozad.js?v=242" > < / script >
{% if v %}
< script src = "/assets/js/post_toast2.js?v=243" > < / script >
< script src = "/assets/js/formatting.js?v=240" > < / script >
{% endif %}
2022-05-10 04:09:14 +00:00
< script src = "/assets/js/lite-youtube.js?v=241" > < / script >
2022-05-04 23:09:46 +00:00
< / body >
< / html >