add a shortened endpoint for static images and rename loading.webp to l.webp (to save bytes)

remotes/1693045480750635534/spooky-22
Aevann1 2022-06-22 17:51:19 +02:00
parent 024ad2eff4
commit 20585ca543
32 changed files with 155 additions and 140 deletions

View File

@ -68,7 +68,7 @@ class Badge(Base):
@property @property
@lazy @lazy
def path(self): def path(self):
return f"/assets/images/badges/{self.badge_id}.webp" return f"/i/badges/{self.badge_id}.webp"
@property @property
@lazy @lazy

View File

@ -31,13 +31,13 @@ class Sub(Base):
@lazy @lazy
def sidebar_url(self): def sidebar_url(self):
if self.sidebarurl: return SITE_FULL + self.sidebarurl if self.sidebarurl: return SITE_FULL + self.sidebarurl
return f'/assets/images/{SITE_NAME}/sidebar.webp?v=1041' return f'/i/{SITE_NAME}/sidebar.webp?v=1041'
@property @property
@lazy @lazy
def banner_url(self): def banner_url(self):
if self.bannerurl: return SITE_FULL + self.bannerurl if self.bannerurl: return SITE_FULL + self.bannerurl
return f'/assets/images/{SITE_NAME}/banner.webp?v=1048' return f'/i/{SITE_NAME}/banner.webp?v=1048'
@property @property
@lazy @lazy

View File

@ -353,8 +353,9 @@ class User(Base):
def bio_html_eager(self): def bio_html_eager(self):
if self.bio_html == None: return '' if self.bio_html == None: return ''
return self.bio_html.replace('data-src', 'src') \ return self.bio_html.replace('data-src', 'src') \
.replace('src="/assets/images/loading.webp?v=2"', '') \ .replace('src="/i/loading.webp?v=2"', '') \
.replace('src="/assets/images/loading.webp"', '') .replace('src="/i/loading.webp"', '') \
.replace('src="/i/l.webp"', '')
@property @property
@lazy @lazy
@ -581,7 +582,7 @@ class User(Base):
@lazy @lazy
def banner_url(self): def banner_url(self):
if self.bannerurl: return self.bannerurl if self.bannerurl: return self.bannerurl
else: return f"/assets/images/{SITE_NAME}/site_preview.webp?v=1016" else: return f"/i/{SITE_NAME}/site_preview.webp?v=1016"
@property @property
@lazy @lazy

View File

@ -148,10 +148,10 @@ def render_emoji(html, regexp, edit, marseys_used, b=False):
if emoji.endswith('pat'): if emoji.endswith('pat'):
if path.isfile(f"files/assets/images/emojis/{emoji.replace('pat','')}.webp"): if path.isfile(f"files/assets/images/emojis/{emoji.replace('pat','')}.webp"):
emoji_html = f'<span data-bs-toggle="tooltip" alt=":{old}:" title=":{old}:"><img src="/assets/images/hand.webp">{emoji_partial_pat.format(old, f"/e/{emoji[:-3]}.webp", attrs)}</span>' emoji_html = f'<span data-bs-toggle="tooltip" alt=":{old}:" title=":{old}:"><img src="/i/hand.webp">{emoji_partial_pat.format(old, f"/e/{emoji[:-3]}.webp", attrs)}</span>'
elif emoji.startswith('@'): elif emoji.startswith('@'):
if u := get_user(emoji[1:-3], graceful=True): if u := get_user(emoji[1:-3], graceful=True):
emoji_html = f'<span data-bs-toggle="tooltip" alt=":{old}:" title=":{old}:"><img src="/assets/images/hand.webp">{emoji_partial_pat.format(old, f"/pp/{u.id}", attrs)}</span>' emoji_html = f'<span data-bs-toggle="tooltip" alt=":{old}:" title=":{old}:"><img src="/i/hand.webp">{emoji_partial_pat.format(old, f"/pp/{u.id}", attrs)}</span>'
elif path.isfile(f'files/assets/images/emojis/{emoji}.webp'): elif path.isfile(f'files/assets/images/emojis/{emoji}.webp'):
emoji_html = emoji_partial.format(old, f'/e/{emoji}.webp', attrs) emoji_html = emoji_partial.format(old, f'/e/{emoji}.webp', attrs)
@ -222,7 +222,7 @@ def sanitize(sanitized, alert=False, edit=False):
if tag.get("src") and not tag["src"].startswith('/pp/'): if tag.get("src") and not tag["src"].startswith('/pp/'):
tag["loading"] = "lazy" tag["loading"] = "lazy"
tag["data-src"] = tag["src"] tag["data-src"] = tag["src"]
tag["src"] = "/assets/images/loading.webp?v=2" tag["src"] = "/i/l.webp"
tag['alt'] = f'![]({tag["data-src"]})' tag['alt'] = f'![]({tag["data-src"]})'
tag['referrerpolicy'] = "no-referrer" tag['referrerpolicy'] = "no-referrer"

View File

@ -243,6 +243,20 @@ def emoji(emoji):
resp.headers.add("Content-Type", "image/webp") resp.headers.add("Content-Type", "image/webp")
return resp return resp
@app.get('/i/<image>')
@limiter.exempt
def image(image):
resp = make_response(send_from_directory('assets/images', image))
if request.path.endswith('.webp') or request.path.endswith('.gif') or request.path.endswith('.ttf') or request.path.endswith('.woff2'):
resp.headers.remove("Cache-Control")
resp.headers.add("Cache-Control", "public, max-age=3153600")
if request.path.endswith('.webp'):
resp.headers.remove("Content-Type")
resp.headers.add("Content-Type", "image/webp")
return resp
@app.get('/assets/<path:path>') @app.get('/assets/<path:path>')
@app.get('/static/assets/<path:path>') @app.get('/static/assets/<path:path>')
@limiter.exempt @limiter.exempt

View File

@ -12,7 +12,7 @@
<meta name="author" content=""> <meta name="author" content="">
<link rel="icon" type="image/webp" href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"> <link rel="icon" type="image/webp" href="/i/{{SITE_NAME}}/icon.webp?v=1015">
<title>{% block pagetitle %}{{SITE_NAME}}{% endblock %}</title> <title>{% block pagetitle %}{{SITE_NAME}}{% endblock %}</title>
@ -24,7 +24,7 @@
{% if v.agendaposter %} {% if v.agendaposter %}
<style> <style>
html { html {
cursor:url('/assets/images/dildo.webp?v=1008'), auto; cursor:url('/i/dildo.webp?v=1008'), auto;
} }
.nav-item .text-small.font-weight-bold::before { .nav-item .text-small.font-weight-bold::before {
content: "(((" content: "((("
@ -116,7 +116,7 @@
<div class="splash-overlay"></div> <div class="splash-overlay"></div>
<img alt="cover" loading="lazy" class="splash-img" src="/assets/images/{{SITE_NAME}}/cover.webp?v=1014"></img> <img alt="cover" loading="lazy" class="splash-img" src="/i/{{SITE_NAME}}/cover.webp?v=1014"></img>
</div> </div>
</div> </div>

View File

@ -11,7 +11,7 @@
<meta name="author" content=""> <meta name="author" content="">
<link id="favicon" rel="icon" type="image/webp" href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"> <link id="favicon" rel="icon" type="image/webp" href="/i/{{SITE_NAME}}/icon.webp?v=1015">
<title>Chat</title> <title>Chat</title>

View File

@ -202,7 +202,7 @@
<span {% if c.distinguish_level %}class="mod"{% endif %}>👻</span> <span {% if c.distinguish_level %}class="mod"{% endif %}>👻</span>
{% else %} {% else %}
{% if SITE_NAME=='rDrama' and c.author.house %} {% if SITE_NAME=='rDrama' and c.author.house %}
<img loading="lazy" src="/assets/images/{{SITE_NAME}}/houses/{{c.author.house}}.webp?v=7" height="20" data-bs-toggle="tooltip" data-bs-placement="bottom" title="House {{c.author.house}}" alt="House {{c.author.house}}"> <img loading="lazy" src="/i/{{SITE_NAME}}/houses/{{c.author.house}}.webp?v=7" height="20" data-bs-toggle="tooltip" data-bs-placement="bottom" title="House {{c.author.house}}" alt="House {{c.author.house}}">
{% endif %} {% endif %}
{% if c.author.verified %}<i class="fas fa-badge-check align-middle ml-1 {% if c.author.verified=='Glowiefied' %}glow{% endif %}" style="color:{% if c.author.verifiedcolor %}#{{c.author.verifiedcolor}}{% else %}#1DA1F2{% endif %}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{c.author.verified}}"></i> {% if c.author.verified %}<i class="fas fa-badge-check align-middle ml-1 {% if c.author.verified=='Glowiefied' %}glow{% endif %}" style="color:{% if c.author.verifiedcolor %}#{{c.author.verifiedcolor}}{% else %}#1DA1F2{% endif %}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{c.author.verified}}"></i>
@ -213,7 +213,7 @@
<a class="user-name text-decoration-none" href="{{c.author.url}}" data-pop-info='{{c.author.json_popover(v) | tojson}}' onclick='popclick(event)' data-bs-placement="bottom" data-bs-toggle="popover" data-bs-trigger="click" data-content-id="popover" role="button" tabindex="0" style="color:#{{c.author.namecolor}}; font-size:12px; font-weight:bold;"> <a class="user-name text-decoration-none" href="{{c.author.url}}" data-pop-info='{{c.author.json_popover(v) | tojson}}' onclick='popclick(event)' data-bs-placement="bottom" data-bs-toggle="popover" data-bs-trigger="click" data-content-id="popover" role="button" tabindex="0" style="color:#{{c.author.namecolor}}; font-size:12px; font-weight:bold;">
<img loading="lazy" src="{{c.author.profile_url}}" class="profile-pic-25 mr-2"> <img loading="lazy" src="{{c.author.profile_url}}" class="profile-pic-25 mr-2">
{% if c.author.is_cakeday %} {% if c.author.is_cakeday %}
<img class="party-hat" src="/assets/images/party-hat.webp" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Ive spent another year rotting my brain with dramaposting, please ridicule me 🤓"> <img class="party-hat" src="/i/party-hat.webp" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Ive spent another year rotting my brain with dramaposting, please ridicule me 🤓">
{% endif %} {% endif %}
<span {% if c.author.patron and not c.distinguish_level %}class="patron" style="background-color:#{{c.author.namecolor}};"{% elif c.distinguish_level %}class="mod"{% endif %}>{{c.author_name}}</span> <span {% if c.author.patron and not c.distinguish_level %}class="patron" style="background-color:#{{c.author.namecolor}};"{% elif c.distinguish_level %}class="mod"{% endif %}>{{c.author_name}}</span>
</a> </a>
@ -236,13 +236,13 @@
{% if c.treasure_amount and c.treasure_amount != '0' %} {% if c.treasure_amount and c.treasure_amount != '0' %}
{% if c.treasure_amount.startswith('l') %} {% if c.treasure_amount.startswith('l') %}
<img class="treasure" alt="treasure" src="/assets/images/treasure_tickets.webp" width="20" /> <img class="treasure" alt="treasure" src="/i/treasure_tickets.webp" width="20" />
<em>Found {{c.treasure_amount.replace('l', '')}} {{'Lottershe' if SITE_NAME == 'rDrama' else 'Lottery'}} Tickets!</em> <em>Found {{c.treasure_amount.replace('l', '')}} {{'Lottershe' if SITE_NAME == 'rDrama' else 'Lottery'}} Tickets!</em>
{% elif '-' in c.treasure_amount %} {% elif '-' in c.treasure_amount %}
<img class="treasure" alt="treasure" src="/assets/images/treasure_mimic.webp" width="20" /> <img class="treasure" alt="treasure" src="/i/treasure_mimic.webp" width="20" />
<em>A Mimic Ate {{c.treasure_amount.replace('-', '')}} Coins!</em> <em>A Mimic Ate {{c.treasure_amount.replace('-', '')}} Coins!</em>
{% else %} {% else %}
<img class="treasure" alt="treasure" src="/assets/images/treasure_coins.webp" width="20" /> <img class="treasure" alt="treasure" src="/i/treasure_coins.webp" width="20" />
<em>Found {{c.treasure_amount}} Coins!</em> <em>Found {{c.treasure_amount}} Coins!</em>
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -20,7 +20,7 @@
{% if v.agendaposter %} {% if v.agendaposter %}
<style> <style>
html { html {
cursor:url('/assets/images/dildo.webp?v=1008'), auto; cursor:url('/i/dildo.webp?v=1008'), auto;
} }
.nav-item .text-small.font-weight-bold::before { .nav-item .text-small.font-weight-bold::before {
content: "(((" content: "((("
@ -76,16 +76,16 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="thumbnail" content="/assets/images/{{SITE_NAME}}/site_preview.webp?v=1016"> <meta name="thumbnail" content="/i/{{SITE_NAME}}/site_preview.webp?v=1016">
<link rel="icon" type="image/webp" href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"> <link rel="icon" type="image/webp" href="/i/{{SITE_NAME}}/icon.webp?v=1015">
{% block title %} {% block title %}
<title>{{SITE_NAME}}</title> <title>{{SITE_NAME}}</title>
<meta property="og:type" content="article"> <meta property="og:type" content="article">
<meta property="og:title" content="{{SITE_NAME}}"> <meta property="og:title" content="{{SITE_NAME}}">
<meta property="og:site_name" content="{{request.host}}"> <meta property="og:site_name" content="{{request.host}}">
<meta property="og:image" content="/assets/images/{{SITE_NAME}}/site_preview.webp?v=1016"> <meta property="og:image" content="/i/{{SITE_NAME}}/site_preview.webp?v=1016">
<meta property="og:url" content="{{SITE_FULL}}{{request.full_path}}"> <meta property="og:url" content="{{SITE_FULL}}{{request.full_path}}">
<meta property="og:description" name="description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}"> <meta property="og:description" name="description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}">
<meta property="og:author" name="author" content="{{SITE_FULL}}"> <meta property="og:author" name="author" content="{{SITE_FULL}}">
@ -96,7 +96,7 @@
<meta name="twitter:title" content="{{SITE_NAME}}"> <meta name="twitter:title" content="{{SITE_NAME}}">
<meta name="twitter:creator" content="{{SITE_FULL}}"> <meta name="twitter:creator" content="{{SITE_FULL}}">
<meta name="twitter:description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}"> <meta name="twitter:description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}">
<meta name="twitter:image" content="/assets/images/{{SITE_NAME}}/site_preview.webp?v=1016"> <meta name="twitter:image" content="/i/{{SITE_NAME}}/site_preview.webp?v=1016">
<meta name="twitter:url" content="{{SITE_FULL}}{{request.full_path}}"> <meta name="twitter:url" content="{{SITE_FULL}}{{request.full_path}}">
{% endblock %} {% endblock %}
@ -105,14 +105,14 @@
<meta name="format-detection" content="telephone=no"> <meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"> <link rel="apple-touch-icon" sizes="180x180" href="/i/{{SITE_NAME}}/icon.webp?v=1015">
<link rel="manifest" href="/assets/manifest_{{SITE_NAME}}.json?v=4"> <link rel="manifest" href="/assets/manifest_{{SITE_NAME}}.json?v=5">
<link rel="mask-icon" href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"> <link rel="mask-icon" href="/i/{{SITE_NAME}}/icon.webp?v=1015">
<link rel="shortcut icon" href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"> <link rel="shortcut icon" href="/i/{{SITE_NAME}}/icon.webp?v=1015">
<meta name="apple-mobile-web-app-title" content="{{SITE_NAME}}"> <meta name="apple-mobile-web-app-title" content="{{SITE_NAME}}">
<meta name="application-name" content="{{SITE_NAME}}"> <meta name="application-name" content="{{SITE_NAME}}">
<meta name="msapplication-TileColor" content="#{{config('DEFAULT_COLOR')}}"> <meta name="msapplication-TileColor" content="#{{config('DEFAULT_COLOR')}}">
<meta name="msapplication-config" content="/assets/browserconfig.xml?v=2"> <meta name="msapplication-config" content="/assets/browserconfig.xml?v=3">
<meta name="theme-color" content="#{{config('DEFAULT_COLOR')}}"> <meta name="theme-color" content="#{{config('DEFAULT_COLOR')}}">
@ -120,127 +120,127 @@
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="320x480" sizes="320x480"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="640x960" sizes="640x960"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-icon" rel="apple-touch-icon"
sizes="640x1136" sizes="640x1136"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-icon" rel="apple-touch-icon"
sizes="750x1334" sizes="750x1334"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="768x1004" sizes="768x1004"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="768x1024" sizes="768x1024"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="828x1792" sizes="828x1792"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="1024x748" sizes="1024x748"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="1024x768" sizes="1024x768"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="1125x2436" sizes="1125x2436"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="1242x2208" sizes="1242x2208"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="1242x2688" sizes="1242x2688"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="1334x750" sizes="1334x750"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="1536x2008" sizes="1536x2008"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="1536x2048" sizes="1536x2048"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="1668x2224" sizes="1668x2224"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="1792x828" sizes="1792x828"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="2048x1496" sizes="2048x1496"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="2048x1536" sizes="2048x1536"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="2048x2732" sizes="2048x2732"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="2208x1242" sizes="2208x1242"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="2224x1668" sizes="2224x1668"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="2436x1125" sizes="2436x1125"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="2668x1242" sizes="2668x1242"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
<link <link
rel="apple-touch-startup-image" rel="apple-touch-startup-image"
sizes="2737x2048" sizes="2737x2048"
href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015" href="/i/{{SITE_NAME}}/icon.webp?v=1015"
> >
{% block fixedMobileBarJS %} {% block fixedMobileBarJS %}
@ -275,14 +275,14 @@
<a href="https://secure.transequality.org/site/Donation2?df_id=1480"> <a href="https://secure.transequality.org/site/Donation2?df_id=1480">
{% if v and (v.is_banned or v.agendaposter) %} {% if v and (v.is_banned or v.agendaposter) %}
<img alt="site banner" src="/assets/images/{{SITE_NAME}}/banner2.webp?v=1" width="100%"> <img alt="site banner" src="/i/{{SITE_NAME}}/banner2.webp?v=1" width="100%">
{% else %} {% else %}
<img alt="site banner" src="{% if v %}{{image}}{% else %}/assets/images/{{SITE_NAME}}/cached.webp?v=100{% endif %}" width="100%"> <img alt="site banner" src="{% if v %}{{image}}{% else %}/assets/images/{{SITE_NAME}}/cached.webp?v=100{% endif %}" width="100%">
{% endif %} {% endif %}
</a> </a>
{% else %} {% else %}
<a href="/"> <a href="/">
<img alt="site banner" src="/assets/images/{{SITE_NAME}}/banner.webp?v=1048" width="100%"> <img alt="site banner" src="/i/{{SITE_NAME}}/banner.webp?v=1048" width="100%">
</a> </a>
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -104,12 +104,12 @@ Text 2
<tr> <tr>
<td>Pat Emojis</td> <td>Pat Emojis</td>
<td>:marseylovepat:</td> <td>:marseylovepat:</td>
<td><span alt=":marseylovepat:" data-bs-toggle="tooltip" title=":marseylovepat:"><img src="/assets/images/hand.webp"><img alt=":marseylovepat:" b="" loading="lazy" pat="" src="/e/marseylove.webp"></span></td> <td><span alt=":marseylovepat:" data-bs-toggle="tooltip" title=":marseylovepat:"><img src="/i/hand.webp"><img alt=":marseylovepat:" b="" loading="lazy" pat="" src="/e/marseylove.webp"></span></td>
</tr> </tr>
<tr> <tr>
<td>Pat User</td> <td>Pat User</td>
<td>:@snappypat:</td> <td>:@snappypat:</td>
<td><span alt=":@snappypat:" data-bs-toggle="tooltip" title="" data-bs-original-title=":@snappypat:" aria-label=":@snappypat:"><img src="/assets/images/hand.webp"><img alt=":@snappypat:" b="" loading="lazy" pat="" src="/pp/3"></span></td> <td><span alt=":@snappypat:" data-bs-toggle="tooltip" title="" data-bs-original-title=":@snappypat:" aria-label=":@snappypat:"><img src="/i/hand.webp"><img alt=":@snappypat:" b="" loading="lazy" pat="" src="/pp/3"></span></td>
</tr> </tr>
<tr> <tr>
<td>Random Marsey</td> <td>Random Marsey</td>

View File

@ -30,7 +30,7 @@
<div class="navbar navbar-expand-md navbar-light" id="navbar"> <div class="navbar navbar-expand-md navbar-light" id="navbar">
<div class="container-fluid" style="padding:0;"> <div class="container-fluid" style="padding:0;">
<a href="/" class="navbar-brand mr-auto {% if SITE_NAME in ('PCM','WPD') and not sub %}flex-grow-1{% endif %}"> <a href="/" class="navbar-brand mr-auto {% if SITE_NAME in ('PCM','WPD') and not sub %}flex-grow-1{% endif %}">
<img alt="header icon" height=33 src="/assets/images/{{SITE_NAME}}/headericon.webp?v=1019"> <img alt="header icon" height=33 src="/i/{{SITE_NAME}}/headericon.webp?v=1019">
</a> </a>
{% if sub %} {% if sub %}
@ -50,7 +50,7 @@
</style> </style>
<div id="logo-container" class="flex-grow-1 logo-container"> <div id="logo-container" class="flex-grow-1 logo-container">
<a href="/"> <a href="/">
<img class="ml-1" id="logo" alt="logo" src="/assets/images/{{SITE_NAME}}/logo.webp?v=1013" width=70> <img class="ml-1" id="logo" alt="logo" src="/i/{{SITE_NAME}}/logo.webp?v=1013" width=70>
</a> </a>
</div> </div>
{% endif %} {% endif %}
@ -165,14 +165,14 @@
<div> <div>
<img alt="your profile picture" loading="lazy" src="{{v.profile_url}}" class="profile-pic-35"> <img alt="your profile picture" loading="lazy" src="{{v.profile_url}}" class="profile-pic-35">
{% if v.is_cakeday %} {% if v.is_cakeday %}
<img class="party-hat4" src="/assets/images/party-hat.webp" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Ive spent another year rotting my brain with dramaposting, please ridicule me 🤓"> <img class="party-hat4" src="/i/party-hat.webp" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Ive spent another year rotting my brain with dramaposting, please ridicule me 🤓">
{% endif %} {% endif %}
</div> </div>
<div class="text-left pl-2"> <div class="text-left pl-2">
<div style="color: #{{v.namecolor}}" class="text-small font-weight-bold {% if v.patron %}patron{% endif %}"><span {% if v.patron %}class="patron" style="background-color:#{{v.namecolor}}"{% endif %}>{{v.username}}</span></div> <div style="color: #{{v.namecolor}}" class="text-small font-weight-bold {% if v.patron %}patron{% endif %}"><span {% if v.patron %}class="patron" style="background-color:#{{v.namecolor}}"{% endif %}>{{v.username}}</span></div>
<div class="text-small-extra"><img alt="coins" class="mr-1 ml-1" data-bs-toggle="tooltip" data-bs-placement="bottom" height="13" src="/assets/images/{{SITE_NAME}}/coins.webp?v=2" title="coins" aria-label="coins"><span id="user-coins-amount">{{v.coins}}</span> Coin{{ help.plural(v.coins) }}</div> <div class="text-small-extra"><img alt="coins" class="mr-1 ml-1" data-bs-toggle="tooltip" data-bs-placement="bottom" height="13" src="/i/{{SITE_NAME}}/coins.webp?v=2" title="coins" aria-label="coins"><span id="user-coins-amount">{{v.coins}}</span> Coin{{ help.plural(v.coins) }}</div>
{% if SITE_NAME not in ('Cringetopia', 'WPD') %} {% if SITE_NAME not in ('Cringetopia', 'WPD') %}
<div class="text-small-extra"><img alt="marseybux" class="mr-1 ml-1" data-bs-toggle="tooltip" data-bs-placement="bottom" height="13" width="30" src="/assets/images/marseybux.webp?v=1008" title="Marseybux" aria-label="Marseybux"><span id="user-bux-amount">{{v.procoins}}</span> Marseybux</div> <div class="text-small-extra"><img alt="marseybux" class="mr-1 ml-1" data-bs-toggle="tooltip" data-bs-placement="bottom" height="13" width="30" src="/i/marseybux.webp?v=1008" title="Marseybux" aria-label="Marseybux"><span id="user-bux-amount">{{v.procoins}}</span> Marseybux</div>
{% endif %} {% endif %}
</div> </div>
</div> </div>
@ -307,10 +307,10 @@
{% if v and not v.animations -%} {% if v and not v.animations -%}
<style> <style>
* :not(img[src="/assets/images/hand.webp"] + img):not(img.golden, img[g]) { * :not(img[src="/i/hand.webp"] + img):not(img.golden, img[g]) {
animation: unset !important; animation: unset !important;
} }
</style> </style>
{%- endif %} {%- endif %}
<link rel="preload" as="image" href="/assets/images/loading.webp?v=2"> <link rel="preload" as="image" href="/i/l.webp">

View File

@ -11,7 +11,7 @@
{% if v.agendaposter %} {% if v.agendaposter %}
<style> <style>
html { html {
cursor:url('/assets/images/dildo.webp?v=1008'), auto; cursor:url('/i/dildo.webp?v=1008'), auto;
} }
.nav-item .text-small.font-weight-bold::before { .nav-item .text-small.font-weight-bold::before {
content: "(((" content: "((("

View File

@ -4,7 +4,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<link rel="icon" type="image/webp" href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"> <link rel="icon" type="image/webp" href="/i/{{SITE_NAME}}/icon.webp?v=1015">
<meta name="description" content="{{config('DESCRIPTION')}}"> <meta name="description" content="{{config('DESCRIPTION')}}">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'; connect-src 'self'; object-src 'none';"> <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'; connect-src 'self'; object-src 'none';">
@ -112,7 +112,7 @@
<div class="splash-overlay"></div> <div class="splash-overlay"></div>
<img alt="cover" loading="lazy" class="splash-img" src="/assets/images/{{SITE_NAME}}/cover.webp?v=1014"></img> <img alt="cover" loading="lazy" class="splash-img" src="/i/{{SITE_NAME}}/cover.webp?v=1014"></img>
</div> </div>
</div> </div>

View File

@ -4,7 +4,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<link rel="icon" type="image/webp" href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"> <link rel="icon" type="image/webp" href="/i/{{SITE_NAME}}/icon.webp?v=1015">
<meta name="description" content="{{config('DESCRIPTION')}}"> <meta name="description" content="{{config('DESCRIPTION')}}">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'; connect-src 'self'; object-src 'none';"> <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'; connect-src 'self'; object-src 'none';">
@ -96,7 +96,7 @@
<div class="splash-overlay"></div> <div class="splash-overlay"></div>
<img alt="cover" loading="lazy" class="splash-img" src="/assets/images/{{SITE_NAME}}/cover.webp?v=1014"></img> <img alt="cover" loading="lazy" class="splash-img" src="/i/{{SITE_NAME}}/cover.webp?v=1014"></img>
</div> </div>
</div> </div>

View File

@ -2,10 +2,10 @@
<div> <div>
<div class="lottery-page--wrapper"> <div class="lottery-page--wrapper">
<div class="lottery-page--image"> <div class="lottery-page--image">
<img src="/assets/images/{{SITE_NAME}}/lottery.webp?v=2" /> <img src="/i/{{SITE_NAME}}/lottery.webp?v=2" />
<img <img
id="lotteryTicketPulled" id="lotteryTicketPulled"
src="/assets/images/{{SITE_NAME}}/lottery_active.webp?v=2" src="/i/{{SITE_NAME}}/lottery_active.webp?v=2"
style="display: none" style="display: none"
/> />
</div> </div>
@ -62,7 +62,7 @@
data-bs-toggle="tooltip" data-bs-toggle="tooltip"
data-bs-placement="bottom" data-bs-placement="bottom"
height="13" height="13"
src="/assets/images/{{SITE_NAME}}/coins.webp?v=2" src="/i/{{SITE_NAME}}/coins.webp?v=2"
title="" title=""
aria-label="coins" aria-label="coins"
data-bs-original-title="coins" data-bs-original-title="coins"
@ -123,7 +123,7 @@
data-bs-toggle="tooltip" data-bs-toggle="tooltip"
data-bs-placement="bottom" data-bs-placement="bottom"
height="13" height="13"
src="/assets/images/{{SITE_NAME}}/coins.webp?v=2" src="/i/{{SITE_NAME}}/coins.webp?v=2"
title="" title=""
aria-label="coins" aria-label="coins"
data-bs-original-title="coins" data-bs-original-title="coins"

View File

@ -9,7 +9,7 @@
{% block content %} {% block content %}
<div class="text-center py-7 py-md-8"> <div class="text-center py-7 py-md-8">
<img loading="lazy" src="/assets/images/ruckus.webp" class="empty-state-img mb-3" alt="success state"> <img loading="lazy" src="/i/ruckus.webp" class="empty-state-img mb-3" alt="success state">
<div class="font-weight-bold text-muted mb-4">{{title}}</div> <div class="font-weight-bold text-muted mb-4">{{title}}</div>
<p class="text-muted">{{message}}</p> <p class="text-muted">{{message}}</p>

View File

@ -13,13 +13,13 @@
<meta name="author" content=""> <meta name="author" content="">
<link rel="icon" type="image/webp" href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"> <link rel="icon" type="image/webp" href="/i/{{SITE_NAME}}/icon.webp?v=1015">
<title>{% block pagetitle %}Settings - {{SITE_NAME}}{% endblock %}</title> <title>{% block pagetitle %}Settings - {{SITE_NAME}}{% endblock %}</title>
<meta property="og:type" content="article"> <meta property="og:type" content="article">
<meta property="og:title" content="{{SITE_NAME}}"> <meta property="og:title" content="{{SITE_NAME}}">
<meta property="og:site_name" content="{{request.host}}"> <meta property="og:site_name" content="{{request.host}}">
<meta property="og:image" content="/assets/images/{{SITE_NAME}}/site_preview.webp?v=1016"> <meta property="og:image" content="/i/{{SITE_NAME}}/site_preview.webp?v=1016">
<meta property="og:url" content="{{request.host}}"> <meta property="og:url" content="{{request.host}}">
<meta property="og:description" name="description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}"> <meta property="og:description" name="description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}">
<meta property="og:author" name="author" content="{{SITE_FULL}}"> <meta property="og:author" name="author" content="{{SITE_FULL}}">
@ -30,7 +30,7 @@
<meta name="twitter:title" content="{{SITE_NAME}}"> <meta name="twitter:title" content="{{SITE_NAME}}">
<meta name="twitter:creator" content="{{SITE_FULL}}"> <meta name="twitter:creator" content="{{SITE_FULL}}">
<meta name="twitter:description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}"> <meta name="twitter:description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}">
<meta name="twitter:image" content="/assets/images/{{SITE_NAME}}/site_preview.webp?v=1016"> <meta name="twitter:image" content="/i/{{SITE_NAME}}/site_preview.webp?v=1016">
<meta name="twitter:url" content="{{request.host}}"> <meta name="twitter:url" content="{{request.host}}">
@ -40,7 +40,7 @@
{% if v.agendaposter %} {% if v.agendaposter %}
<style> <style>
html { html {
cursor:url('/assets/images/dildo.webp?v=1008'), auto; cursor:url('/i/dildo.webp?v=1008'), auto;
} }
.nav-item .text-small.font-weight-bold::before { .nav-item .text-small.font-weight-bold::before {
content: "(((" content: "((("

View File

@ -13,13 +13,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="author" content=""> <meta name="author" content="">
<meta name="thumbnail" content="/assets/images/{{SITE_NAME}}/site_preview.webp?v=1016"> <meta name="thumbnail" content="/i/{{SITE_NAME}}/site_preview.webp?v=1016">
<link rel="icon" type="image/webp" href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"> <link rel="icon" type="image/webp" href="/i/{{SITE_NAME}}/icon.webp?v=1015">
<meta property="og:type" content="article"> <meta property="og:type" content="article">
<meta property="og:title" content="{{SITE_NAME}}"> <meta property="og:title" content="{{SITE_NAME}}">
<meta property="og:site_name" content="{{request.host}}"> <meta property="og:site_name" content="{{request.host}}">
<meta property="og:image" content="/assets/images/{{SITE_NAME}}/site_preview.webp?v=1016"> <meta property="og:image" content="/i/{{SITE_NAME}}/site_preview.webp?v=1016">
<meta property="og:url" content="{{SITE_FULL}}{{request.full_path}}"> <meta property="og:url" content="{{SITE_FULL}}{{request.full_path}}">
<meta property="og:description" name="description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}"> <meta property="og:description" name="description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}">
<meta property="og:author" name="author" content="{{SITE_FULL}}"> <meta property="og:author" name="author" content="{{SITE_FULL}}">
@ -30,7 +30,7 @@
<meta name="twitter:title" content="{{SITE_NAME}}"> <meta name="twitter:title" content="{{SITE_NAME}}">
<meta name="twitter:creator" content="{{SITE_FULL}}"> <meta name="twitter:creator" content="{{SITE_FULL}}">
<meta name="twitter:description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}"> <meta name="twitter:description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}">
<meta name="twitter:image" content="/assets/images/{{SITE_NAME}}/site_preview.webp?v=1016"> <meta name="twitter:image" content="/i/{{SITE_NAME}}/site_preview.webp?v=1016">
<meta name="twitter:url" content="{{SITE_FULL}}{{request.full_path}}"> <meta name="twitter:url" content="{{SITE_FULL}}{{request.full_path}}">

View File

@ -738,7 +738,7 @@
</div> </div>
<script src="/assets/js/settings_profile.js?v=253"></script> <script src="/assets/js/settings_profile.js?v=254"></script>
{% include "emoji_modal.html" %} {% include "emoji_modal.html" %}
{% include "gif_modal.html" %} {% include "gif_modal.html" %}

View File

@ -7,7 +7,7 @@
}[SITE_NAME] }[SITE_NAME]
-%} -%}
<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-html="true" title="<img src='/assets/images/chest.webp' width='20'>"> <button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-html="true" title="<img src='/i/chest.webp' width='20'>">
Tooltip with HTML Tooltip with HTML
</button> </button>
@ -19,7 +19,7 @@
{% block Banner %} {% block Banner %}
<header class="container pb-1 text-center"> <header class="container pb-1 text-center">
<img alt="shop banner" src="/assets/images/shop.webp" width="50%"> <img alt="shop banner" src="/i/shop.webp" width="50%">
<h3 class="mt-4">{{SHOP_FLAVOR}} Earn coins.</h5> <h3 class="mt-4">{{SHOP_FLAVOR}} Earn coins.</h5>
<h5 class="mt-4">Total sales: {{sales}} coins</h5> <h5 class="mt-4">Total sales: {{sales}} coins</h5>
<h5 class="mt-4">Coins spent by you: {{v.coins_spent}} coins</h5> <h5 class="mt-4">Coins spent by you: {{v.coins_spent}} coins</h5>

View File

@ -3,7 +3,7 @@
{% if sub %} {% if sub %}
{% set image=sub.sidebar_url %} {% set image=sub.sidebar_url %}
{% else %} {% else %}
{% set image='/assets/images/' + SITE_NAME + '/sidebar.webp?v=1' %} {% set image='/i/' + SITE_NAME + '/sidebar.webp?v=1' %}
{% endif %} {% endif %}
<img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%> <img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%>

View File

@ -38,7 +38,7 @@
{% if sub %} {% if sub %}
{% set image=sub.sidebar_url %} {% set image=sub.sidebar_url %}
{% else %} {% else %}
{% set image='/assets/images/' + SITE_NAME + '/sidebar.webp?v=1041' %} {% set image='/i/' + SITE_NAME + '/sidebar.webp?v=1041' %}
{% endif %} {% endif %}
<img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%> <img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%>

View File

@ -3,7 +3,7 @@
{% if sub %} {% if sub %}
{% set image=sub.sidebar_url %} {% set image=sub.sidebar_url %}
{% else %} {% else %}
{% set image='/assets/images/' + SITE_NAME + '/sidebar.webp?v=2' %} {% set image='/i/' + SITE_NAME + '/sidebar.webp?v=2' %}
{% endif %} {% endif %}
<img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%> <img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%>

View File

@ -31,7 +31,7 @@ set VISITORS_HERE_FLAVOR = [
{% endif %} {% endif %}
{% if v and (v.is_banned or v.agendaposter) %} {% if v and (v.is_banned or v.agendaposter) %}
<img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('/assets/images/{{SITE_NAME}}/sidebar2.webp')" loading="lazy" src="/assets/images/{{SITE_NAME}}/sidebar2.webp" width=100%> <img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('/i/{{SITE_NAME}}/sidebar2.webp')" loading="lazy" src="/i/{{SITE_NAME}}/sidebar2.webp" width=100%>
{% else %} {% else %}
<img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%> <img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%>
{% endif %} {% endif %}

View File

@ -3,7 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<link rel="icon" type="image/webp" href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"> <link rel="icon" type="image/webp" href="/i/{{SITE_NAME}}/icon.webp?v=1015">
<meta name="description" content="{{config('DESCRIPTION')}}"> <meta name="description" content="{{config('DESCRIPTION')}}">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'; connect-src 'self'; object-src 'none';"> <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'; connect-src 'self'; object-src 'none';">
@ -17,7 +17,7 @@
<meta property="og:type" content="article"> <meta property="og:type" content="article">
<meta property="og:title" content="{{SITE_NAME}}"> <meta property="og:title" content="{{SITE_NAME}}">
<meta property="og:site_name" content="{{request.host}}"> <meta property="og:site_name" content="{{request.host}}">
<meta property="og:image" content="/assets/images/{{SITE_NAME}}/site_preview.webp?v=1016"> <meta property="og:image" content="/i/{{SITE_NAME}}/site_preview.webp?v=1016">
<meta property="og:url" content="{{request.host}}"> <meta property="og:url" content="{{request.host}}">
<meta property="og:description" name="description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}"> <meta property="og:description" name="description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}">
<meta property="og:author" name="author" content="{{SITE_FULL}}"> <meta property="og:author" name="author" content="{{SITE_FULL}}">
@ -28,7 +28,7 @@
<meta name="twitter:title" content="{{SITE_NAME}}"> <meta name="twitter:title" content="{{SITE_NAME}}">
<meta name="twitter:creator" content="{{SITE_FULL}}"> <meta name="twitter:creator" content="{{SITE_FULL}}">
<meta name="twitter:description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}"> <meta name="twitter:description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}">
<meta name="twitter:image" content="/assets/images/{{SITE_NAME}}/site_preview.webp?v=1016"> <meta name="twitter:image" content="/i/{{SITE_NAME}}/site_preview.webp?v=1016">
<meta name="twitter:url" content="{{request.host}}"> <meta name="twitter:url" content="{{request.host}}">
<title>{% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}Sign up - {{SITE_NAME}}{% endif %}</title> <title>{% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}Sign up - {{SITE_NAME}}{% endif %}</title>
@ -143,7 +143,7 @@
<div class="splash-overlay"></div> <div class="splash-overlay"></div>
<img alt="cover" loading="lazy" class="splash-img" src="/assets/images/{{SITE_NAME}}/cover.webp?v=1014"></img> <img alt="cover" loading="lazy" class="splash-img" src="/i/{{SITE_NAME}}/cover.webp?v=1014"></img>
</div> </div>
</div> </div>

View File

@ -4,7 +4,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<link rel="icon" type="image/webp" href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"> <link rel="icon" type="image/webp" href="/i/{{SITE_NAME}}/icon.webp?v=1015">
<meta name="description" content="{{config('DESCRIPTION')}}"> <meta name="description" content="{{config('DESCRIPTION')}}">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'; connect-src 'self'; object-src 'none';"> <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'; connect-src 'self'; object-src 'none';">
@ -18,7 +18,7 @@
<meta property="og:type" content="article"> <meta property="og:type" content="article">
<meta property="og:title" content="{{SITE_NAME}}"> <meta property="og:title" content="{{SITE_NAME}}">
<meta property="og:site_name" content="{{request.host}}"> <meta property="og:site_name" content="{{request.host}}">
<meta property="og:image" content="/assets/images/{{SITE_NAME}}/site_preview.webp?v=1016"> <meta property="og:image" content="/i/{{SITE_NAME}}/site_preview.webp?v=1016">
<meta property="og:url" content="{{request.host}}"> <meta property="og:url" content="{{request.host}}">
<meta property="og:description" name="description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}"> <meta property="og:description" name="description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}">
<meta property="og:author" name="author" content="{{SITE_FULL}}"> <meta property="og:author" name="author" content="{{SITE_FULL}}">
@ -29,7 +29,7 @@
<meta name="twitter:title" content="{{SITE_NAME}}"> <meta name="twitter:title" content="{{SITE_NAME}}">
<meta name="twitter:creator" content="{{SITE_FULL}}"> <meta name="twitter:creator" content="{{SITE_FULL}}">
<meta name="twitter:description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}"> <meta name="twitter:description" content="{{SITE_NAME}} - {{config('DESCRIPTION')}}">
<meta name="twitter:image" content="/assets/images/{{SITE_NAME}}/site_preview.webp?v=1016"> <meta name="twitter:image" content="/i/{{SITE_NAME}}/site_preview.webp?v=1016">
<meta name="twitter:url" content="{{request.host}}"> <meta name="twitter:url" content="{{request.host}}">
<title>{% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}{{SITE_NAME}}{% endif %}</title> <title>{% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}{{SITE_NAME}}{% endif %}</title>
@ -87,7 +87,7 @@
<div class="splash-overlay"></div> <div class="splash-overlay"></div>
<img alt="cover" loading="lazy" class="splash-img" src="/assets/images/{{SITE_NAME}}/cover.webp?v=1014"></img> <img alt="cover" loading="lazy" class="splash-img" src="/i/{{SITE_NAME}}/cover.webp?v=1014"></img>
</div> </div>
</div> </div>

View File

@ -60,7 +60,7 @@
{% endif %} {% endif %}
{% if SITE_NAME == 'PCM' %} {% if SITE_NAME == 'PCM' %}
{% set wholesome = '/assets/images/wholesome.webp' %} {% set wholesome = '/i/wholesome.webp' %}
{% else %} {% else %}
{% set wholesome = '/e/marseywholesome.webp' %} {% set wholesome = '/e/marseywholesome.webp' %}
{% endif %} {% endif %}
@ -70,7 +70,7 @@
{% endif %} {% endif %}
{% if p.award_count("firework") %} {% if p.award_count("firework") %}
<script defer src="/assets/js/fireworks.js?v=4"></script> <script defer src="/assets/js/fireworks.js?v=5"></script>
<div class="firework"> <div class="firework">
<img src=""> <img src="">
</div> </div>
@ -95,20 +95,20 @@
{% endif %} {% endif %}
{% if p.award_count("ricardo") %} {% if p.award_count("ricardo") %}
<script src="/assets/js/ricardo.js?v=5"></script> <script src="/assets/js/ricardo.js?v=6"></script>
<div id="ricardo1" class="ricardo ricardoleft"> <div id="ricardo1" class="ricardo ricardoleft">
<img src="/assets/images/ricardo1.webp"> <img src="/i/ricardo1.webp">
</div> </div>
{% if p.award_count("ricardo") > 1 %} {% if p.award_count("ricardo") > 1 %}
<div id="ricardo2" class="ricardo"> <div id="ricardo2" class="ricardo">
<img src="/assets/images/ricardo2.webp" style="max-height:200px"> <img src="/i/ricardo2.webp" style="max-height:200px">
</div> </div>
{% endif %} {% endif %}
{% if p.award_count("ricardo") > 2 %} {% if p.award_count("ricardo") > 2 %}
<div id="ricardo3" class="ricardo"> <div id="ricardo3" class="ricardo">
<img src="/assets/images/ricardo3.webp" style="max-height:150px"> <img src="/i/ricardo3.webp" style="max-height:150px">
</div> </div>
{% endif %} {% endif %}
{% endif %} {% endif %}
@ -242,7 +242,7 @@
} }
</style> </style>
<div class="toe toe1" height="100%" width="100%"> <div class="toe toe1" height="100%" width="100%">
<img alt="Blade's toe" class="toeimg" src="/assets/images/PCM/toe.webp?v=1"> <img alt="Blade's toe" class="toeimg" src="/i/PCM/toe.webp?v=1">
</div> </div>
{% if p.award_count("toe") > 1 %} {% if p.award_count("toe") > 1 %}
@ -257,7 +257,7 @@
} }
</style> </style>
<div class="toe toe2" height="100%" width="100%"> <div class="toe toe2" height="100%" width="100%">
<img alt="Blade's toe" class="toeimg" src="/assets/images/PCM/toe.webp?v=1"> <img alt="Blade's toe" class="toeimg" src="/i/PCM/toe.webp?v=1">
</div> </div>
{% endif %} {% endif %}
@ -273,7 +273,7 @@
} }
</style> </style>
<div class="toe toe3" height="100%" width="100%"> <div class="toe toe3" height="100%" width="100%">
<img alt="Blade's toe" class="toeimg" src="/assets/images/PCM/toe.webp?v=1"> <img alt="Blade's toe" class="toeimg" src="/i/PCM/toe.webp?v=1">
</div> </div>
{% endif %} {% endif %}
@ -289,7 +289,7 @@
} }
</style> </style>
<div class="toe toe4" height="100%" width="100%"> <div class="toe toe4" height="100%" width="100%">
<img alt="Blade's toe" class="toeimg" src="/assets/images/PCM/toe.webp?v=1"> <img alt="Blade's toe" class="toeimg" src="/i/PCM/toe.webp?v=1">
</div> </div>
{% endif %} {% endif %}
{% endif %} {% endif %}
@ -370,7 +370,7 @@
<div class="toe" height="100%" width="100%"> <div class="toe" height="100%" width="100%">
<marquee class="toe" scrollamount=10 behavior="alternate" direction="up" height="100%" width="100%"> <marquee class="toe" scrollamount=10 behavior="alternate" direction="up" height="100%" width="100%">
<marquee direction="right" scrollamount=10 behavior="alternate" height="100%" width="100%"> <marquee direction="right" scrollamount=10 behavior="alternate" height="100%" width="100%">
<img alt="Blade's toe" class="toeimg" src="/assets/images/PCM/toe.webp?v=1"> <img alt="Blade's toe" class="toeimg" src="/i/PCM/toe.webp?v=1">
</marquee> </marquee>
</marquee> </marquee>
</div> </div>
@ -378,7 +378,7 @@
{% if p.award_count("toe") > 1 %} {% if p.award_count("toe") > 1 %}
<marquee class="toe" scrollamount=10 behavior="alternate" direction="down" height="100%"> <marquee class="toe" scrollamount=10 behavior="alternate" direction="down" height="100%">
<marquee direction="right" scrollamount=10 behavior="alternate" width="100%"> <marquee direction="right" scrollamount=10 behavior="alternate" width="100%">
<img alt="Blade's toe" class="toeimg" src="/assets/images/PCM/toe.webp?v=1"> <img alt="Blade's toe" class="toeimg" src="/i/PCM/toe.webp?v=1">
</marquee> </marquee>
</marquee> </marquee>
{% endif %} {% endif %}
@ -386,7 +386,7 @@
{% if p.award_count("toe") > 2 %} {% if p.award_count("toe") > 2 %}
<marquee class="toe" scrollamount=10 behavior="alternate" direction="up" height="100%"> <marquee class="toe" scrollamount=10 behavior="alternate" direction="up" height="100%">
<marquee direction="left" scrollamount=10 behavior="alternate" width="100%"> <marquee direction="left" scrollamount=10 behavior="alternate" width="100%">
<img alt="Blade's toe" class="toeimg" src="/assets/images/PCM/toe.webp?v=1"> <img alt="Blade's toe" class="toeimg" src="/i/PCM/toe.webp?v=1">
</marquee> </marquee>
</marquee> </marquee>
{% endif %} {% endif %}
@ -394,7 +394,7 @@
{% if p.award_count("toe") > 3 %} {% if p.award_count("toe") > 3 %}
<marquee class="toe" scrollamount=10 behavior="alternate" direction="down" height="100%"> <marquee class="toe" scrollamount=10 behavior="alternate" direction="down" height="100%">
<marquee direction="left" scrollamount=10 behavior="alternate" width="100%"> <marquee direction="left" scrollamount=10 behavior="alternate" width="100%">
<img alt="Blade's toe" class="toeimg" src="/assets/images/PCM/toe.webp?v=1"> <img alt="Blade's toe" class="toeimg" src="/i/PCM/toe.webp?v=1">
</marquee> </marquee>
</marquee> </marquee>
{% endif %} {% endif %}
@ -497,24 +497,24 @@
</style> </style>
<marquee class="croag croag1" direction="left" scrollamount=10 width="100%"> <marquee class="croag croag1" direction="left" scrollamount=10 width="100%">
<img alt="croag" class="croagimg mirrored" src="/assets/images/PCM/croag.webp?v=1"> <img alt="croag" class="croagimg mirrored" src="/i/PCM/croag.webp?v=1">
</marquee> </marquee>
{% if p.award_count("croag") > 1 %} {% if p.award_count("croag") > 1 %}
<marquee class="croag croag2" direction="right" scrollamount=10 width="100%"> <marquee class="croag croag2" direction="right" scrollamount=10 width="100%">
<img alt="croag" class="croagimg" src="/assets/images/PCM/croag.webp?v=1"> <img alt="croag" class="croagimg" src="/i/PCM/croag.webp?v=1">
</marquee> </marquee>
{% endif %} {% endif %}
{% if p.award_count("croag") > 2 %} {% if p.award_count("croag") > 2 %}
<marquee class="croag croag3" direction="left" scrollamount=10 width="100%"> <marquee class="croag croag3" direction="left" scrollamount=10 width="100%">
<img alt="croag" class="croagimg mirrored" src="/assets/images/PCM/croag.webp?v=1"> <img alt="croag" class="croagimg mirrored" src="/i/PCM/croag.webp?v=1">
</marquee> </marquee>
{% endif %} {% endif %}
{% if p.award_count("croag") > 3 %} {% if p.award_count("croag") > 3 %}
<marquee class="croag croag4" direction="right" scrollamount=10 width="100%"> <marquee class="croag croag4" direction="right" scrollamount=10 width="100%">
<img alt="croag" class="croagimg" src="/assets/images/PCM/croag.webp?v=1"> <img alt="croag" class="croagimg" src="/i/PCM/croag.webp?v=1">
</marquee> </marquee>
{% endif %} {% endif %}
{% endif %} {% endif %}
@ -741,7 +741,7 @@
<span {% if p.distinguish_level %}class="mod"{% endif %}>👻</span> <span {% if p.distinguish_level %}class="mod"{% endif %}>👻</span>
{% else %} {% else %}
{% if SITE_NAME=='rDrama' and p.author.house %} {% if SITE_NAME=='rDrama' and p.author.house %}
<img loading="lazy" src="/assets/images/{{SITE_NAME}}/houses/{{p.author.house}}.webp?v=7" height="20" data-bs-toggle="tooltip" data-bs-placement="bottom" title="House {{p.author.house}}" alt="House {{p.author.house}}"> <img loading="lazy" src="/i/{{SITE_NAME}}/houses/{{p.author.house}}.webp?v=7" height="20" data-bs-toggle="tooltip" data-bs-placement="bottom" title="House {{p.author.house}}" alt="House {{p.author.house}}">
{% endif %} {% endif %}
{% if p.author.verified %}<i class="fas fa-badge-check align-middle ml-1 {% if p.author.verified=='Glowiefied' %}glow{% endif %}" style="color:{% if p.author.verifiedcolor %}#{{p.author.verifiedcolor}}{% else %}#1DA1F2{% endif %}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.verified}}"></i> {% if p.author.verified %}<i class="fas fa-badge-check align-middle ml-1 {% if p.author.verified=='Glowiefied' %}glow{% endif %}" style="color:{% if p.author.verifiedcolor %}#{{p.author.verifiedcolor}}{% else %}#1DA1F2{% endif %}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.verified}}"></i>
@ -749,7 +749,7 @@
<a class="user-name text-decoration-none" href="{{p.author.url}}" data-pop-info='{{p.author.json_popover(v) | tojson}}' onclick='popclick(event)' data-bs-placement="bottom" data-bs-toggle="popover" data-bs-trigger="click" data-content-id="popover" role="button" tabindex="0" style="color: #{{p.author.namecolor}}; font-weight: bold"class="user-name"> <a class="user-name text-decoration-none" href="{{p.author.url}}" data-pop-info='{{p.author.json_popover(v) | tojson}}' onclick='popclick(event)' data-bs-placement="bottom" data-bs-toggle="popover" data-bs-trigger="click" data-content-id="popover" role="button" tabindex="0" style="color: #{{p.author.namecolor}}; font-weight: bold"class="user-name">
<img loading="lazy" src="{{p.author.profile_url}}" class="profile-pic-25 mr-2"> <img loading="lazy" src="{{p.author.profile_url}}" class="profile-pic-25 mr-2">
{% if p.author.is_cakeday %} {% if p.author.is_cakeday %}
<img class="party-hat" src="/assets/images/party-hat.webp" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Ive spent another year rotting my brain with dramaposting, please ridicule me 🤓"> <img class="party-hat" src="/i/party-hat.webp" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Ive spent another year rotting my brain with dramaposting, please ridicule me 🤓">
{% endif %} {% endif %}
<span {% if p.author.patron and not p.distinguish_level %}class="patron" style="background-color:#{{p.author.namecolor}};"{% elif p.distinguish_level %}class="mod"{% endif %}>{{p.author_name}}</span> <span {% if p.author.patron and not p.distinguish_level %}class="patron" style="background-color:#{{p.author.namecolor}};"{% elif p.distinguish_level %}class="mod"{% endif %}>{{p.author_name}}</span>
</a> </a>
@ -1186,13 +1186,13 @@
{% if p.award_count("shit") %} {% if p.award_count("shit") %}
<script src="/assets/js/critters.js?v=245"></script> <script src="/assets/js/critters.js?v=245"></script>
<script src="/assets/js/bugs.js?v=245"></script> <script src="/assets/js/bugs.js?v=246"></script>
{% endif %} {% endif %}
{% if p.award_count("fireflies") %} {% if p.award_count("fireflies") %}
<script src="/assets/js/critters.js?v=245"></script> <script src="/assets/js/critters.js?v=245"></script>
<script src="/assets/js/fireflies.js?v=245"></script> <script src="/assets/js/fireflies.js?v=246"></script>
{% endif %} {% endif %}

View File

@ -188,7 +188,7 @@
<span {% if p.distinguish_level %}class="mod"{% endif %}>👻</span> <span {% if p.distinguish_level %}class="mod"{% endif %}>👻</span>
{% else %} {% else %}
{% if SITE_NAME=='rDrama' and p.author.house %} {% if SITE_NAME=='rDrama' and p.author.house %}
<img loading="lazy" src="/assets/images/{{SITE_NAME}}/houses/{{p.author.house}}.webp?v=7" height="20" data-bs-toggle="tooltip" data-bs-placement="bottom" title="House {{p.author.house}}" alt="House {{p.author.house}}"> <img loading="lazy" src="/i/{{SITE_NAME}}/houses/{{p.author.house}}.webp?v=7" height="20" data-bs-toggle="tooltip" data-bs-placement="bottom" title="House {{p.author.house}}" alt="House {{p.author.house}}">
{% endif %} {% endif %}
{% if p.author.verified %}<i class="fas fa-badge-check align-middle ml-1 {% if p.author.verified=='Glowiefied' %}glow{% endif %}" style="color:{% if p.author.verifiedcolor %}#{{p.author.verifiedcolor}}{% else %}#1DA1F2{% endif %}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.verified}}"></i> {% if p.author.verified %}<i class="fas fa-badge-check align-middle ml-1 {% if p.author.verified=='Glowiefied' %}glow{% endif %}" style="color:{% if p.author.verifiedcolor %}#{{p.author.verifiedcolor}}{% else %}#1DA1F2{% endif %}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.verified}}"></i>
@ -196,7 +196,7 @@
<a class="user-name text-decoration-none" href="{{p.author.url}}" data-pop-info='{{p.author.json_popover(v) | tojson}}' onclick='popclick(event)' data-bs-placement="bottom" data-bs-toggle="popover" data-bs-trigger="click" data-content-id="popover" role="button" tabindex="0" style="color: #{{p.author.namecolor}}; font-weight: bold;"> <a class="user-name text-decoration-none" href="{{p.author.url}}" data-pop-info='{{p.author.json_popover(v) | tojson}}' onclick='popclick(event)' data-bs-placement="bottom" data-bs-toggle="popover" data-bs-trigger="click" data-content-id="popover" role="button" tabindex="0" style="color: #{{p.author.namecolor}}; font-weight: bold;">
<img loading="lazy" src="{{p.author.profile_url}}" class="profile-pic-25 mr-2"> <img loading="lazy" src="{{p.author.profile_url}}" class="profile-pic-25 mr-2">
{% if p.author.is_cakeday %} {% if p.author.is_cakeday %}
<img class="party-hat" src="/assets/images/party-hat.webp" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Ive spent another year rotting my brain with dramaposting, please ridicule me 🤓"> <img class="party-hat" src="/i/party-hat.webp" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Ive spent another year rotting my brain with dramaposting, please ridicule me 🤓">
{% endif %} {% endif %}
<span {% if p.author.patron and not p.distinguish_level %}class="patron" style="background-color:#{{p.author.namecolor}};"{% elif p.distinguish_level %}class="mod"{% endif %}>{{p.author_name}}</span> <span {% if p.author.patron and not p.distinguish_level %}class="patron" style="background-color:#{{p.author.namecolor}};"{% elif p.distinguish_level %}class="mod"{% endif %}>{{p.author_name}}</span>
</a> </a>
@ -345,7 +345,7 @@
{% if p.is_image and not p.over_18 and ((v and v.cardview) or (not v and environ.get('CARD_VIEW') == '1')) %} {% if p.is_image and not p.over_18 and ((v and v.cardview) or (not v and environ.get('CARD_VIEW') == '1')) %}
<div style="text-align: center" class="mt-3 mb-4"> <div style="text-align: center" class="mt-3 mb-4">
<a {% if v and v.newtab and not g.webview %}target="_blank"{% endif %} rel="nofollow noopener noreferrer" href="{{p.realurl(v)}}"> <a {% if v and v.newtab and not g.webview %}target="_blank"{% endif %} rel="nofollow noopener noreferrer" href="{{p.realurl(v)}}">
<img loading="lazy" data-src="{{p.realurl(v)}}" src="/assets/images/loading.webp?v=2" class="img-fluid" style="max-height:20rem" alt="Unable to load image"> <img loading="lazy" data-src="{{p.realurl(v)}}" src="/i/l.webp" class="img-fluid" style="max-height:20rem" alt="Unable to load image">
</a> </a>
</div> </div>
{% elif p.is_video %} {% elif p.is_video %}

View File

@ -12,7 +12,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="author" content=""> <meta name="author" content="">
<link rel="icon" type="image/webp" href="/assets/images/{{SITE_NAME}}/icon.webp?v=1015"> <link rel="icon" type="image/webp" href="/i/{{SITE_NAME}}/icon.webp?v=1015">
{% if request.host == 'pcmemes.net' %} {% if request.host == 'pcmemes.net' %}
{% set cc='Splash Mountain' %} {% set cc='Splash Mountain' %}
@ -33,7 +33,7 @@
{% if v.agendaposter %} {% if v.agendaposter %}
<style> <style>
html { html {
cursor:url('/assets/images/dildo.webp?v=1008'), auto; cursor:url('/i/dildo.webp?v=1008'), auto;
} }
.nav-item .text-small.font-weight-bold::before { .nav-item .text-small.font-weight-bold::before {
content: "(((" content: "((("

View File

@ -41,7 +41,7 @@
<div id="profile--pfp"> <div id="profile--pfp">
<a rel="nofollow noopener noreferrer" href="{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}"><img loading="lazy" src="{{u.profile_url}}" class="profile-pic profile-pic-100 mb-5"></a> <a rel="nofollow noopener noreferrer" href="{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}"><img loading="lazy" src="{{u.profile_url}}" class="profile-pic profile-pic-100 mb-5"></a>
{% if u.is_cakeday %} {% if u.is_cakeday %}
<img class="party-hat2" src="/assets/images/party-hat.webp" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Ive spent another year rotting my brain with dramaposting, please ridicule me 🤓"> <img class="party-hat2" src="/i/party-hat.webp" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Ive spent another year rotting my brain with dramaposting, please ridicule me 🤓">
{% endif %} {% endif %}
</div> </div>
<div id="profilestuff" class="ml-3 w-100"> <div id="profilestuff" class="ml-3 w-100">
@ -65,7 +65,7 @@
{% endif %} {% endif %}
{% if SITE_NAME=='rDrama' and u.house %} {% if SITE_NAME=='rDrama' and u.house %}
<img loading="lazy" class="ml-3" id="profile--house" src="/assets/images/{{SITE_NAME}}/houses/{{u.house}}.webp?v=7" height="20" data-bs-toggle="tooltip" data-bs-placement="bottom" title="House {{u.house}}" alt="House {{u.house}}"> <img loading="lazy" class="ml-3" id="profile--house" src="/i/{{SITE_NAME}}/houses/{{u.house}}.webp?v=7" height="20" data-bs-toggle="tooltip" data-bs-placement="bottom" title="House {{u.house}}" alt="House {{u.house}}">
{% endif %} {% endif %}
{% if u.verified %} {% if u.verified %}
@ -113,11 +113,11 @@
<div class="font-weight-bolder"> <div class="font-weight-bolder">
<span id="profile-coins-amount">{{u.coins}}</span> <span id="profile-coins-amount">{{u.coins}}</span>
<img alt="coins" class="ml-1 mb-1" data-bs-toggle="tooltip" data-bs-placement="bottom" title="coins" height="20" src="/assets/images/{{SITE_NAME}}/coins.webp?v=2">&nbsp;&nbsp; <img alt="coins" class="ml-1 mb-1" data-bs-toggle="tooltip" data-bs-placement="bottom" title="coins" height="20" src="/i/{{SITE_NAME}}/coins.webp?v=2">&nbsp;&nbsp;
{% if SITE_NAME not in ('Cringetopia', 'WPD') %} {% if SITE_NAME not in ('Cringetopia', 'WPD') %}
<span id="profile-bux-amount">{{u.procoins}}</span> <span id="profile-bux-amount">{{u.procoins}}</span>
<img alt="marseybux" class="ml-1 mb-1" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Marseybux" height="20" width="46" src="/assets/images/marseybux.webp?v=1008">&nbsp;&nbsp; <img alt="marseybux" class="ml-1 mb-1" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Marseybux" height="20" width="46" src="/i/marseybux.webp?v=1008">&nbsp;&nbsp;
{% endif %} {% endif %}
<a href="/@{{u.username}}/followers" id="profile--followers">{{u.stored_subscriber_count}} follower{{'s' if u.stored_subscriber_count != 1 else ''}}</a>&nbsp;&nbsp; <a href="/@{{u.username}}/followers" id="profile--followers">{{u.stored_subscriber_count}} follower{{'s' if u.stored_subscriber_count != 1 else ''}}</a>&nbsp;&nbsp;
@ -373,7 +373,7 @@
<div style="margin-top: -34px;" id="profile--pfp"> <div style="margin-top: -34px;" id="profile--pfp">
<a rel="nofollow noopener noreferrer" href="{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}"><img loading="lazy" src="{{u.profile_url}}" class="profile-pic-65 bg-white border-2 border-white mb-2"></a> <a rel="nofollow noopener noreferrer" href="{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}"><img loading="lazy" src="{{u.profile_url}}" class="profile-pic-65 bg-white border-2 border-white mb-2"></a>
{% if u.is_cakeday %} {% if u.is_cakeday %}
<img class="party-hat3" src="/assets/images/party-hat.webp" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Ive spent another year rotting my brain with dramaposting, please ridicule me 🤓"> <img class="party-hat3" src="/i/party-hat.webp" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Ive spent another year rotting my brain with dramaposting, please ridicule me 🤓">
{% endif %} {% endif %}
</div> </div>
<div class="mt-n3 py-3"> <div class="mt-n3 py-3">
@ -391,7 +391,7 @@
{% endif %} {% endif %}
{% if SITE_NAME=='rDrama' and u.house %} {% if SITE_NAME=='rDrama' and u.house %}
<img loading="lazy" class="ml-2" id="profile--house" src="/assets/images/{{SITE_NAME}}/houses/{{u.house}}.webp?v=7" height="20" data-bs-toggle="tooltip" data-bs-placement="bottom" title="House {{u.house}}" alt="House {{u.house}}"> <img loading="lazy" class="ml-2" id="profile--house" src="/i/{{SITE_NAME}}/houses/{{u.house}}.webp?v=7" height="20" data-bs-toggle="tooltip" data-bs-placement="bottom" title="House {{u.house}}" alt="House {{u.house}}">
{% endif %} {% endif %}
{% if u.verified %} {% if u.verified %}
@ -415,11 +415,11 @@
<div class="font-weight-normal"> <div class="font-weight-normal">
<span id="profile-coins-amount-mobile" class="font-weight-bold">{{u.coins}}</span> <span id="profile-coins-amount-mobile" class="font-weight-bold">{{u.coins}}</span>
<img alt="coins" class="ml-1 mb-1" data-bs-toggle="tooltip" data-bs-placement="bottom" title="coins" height="15" src="/assets/images/{{SITE_NAME}}/coins.webp?v=2">&nbsp;&nbsp; <img alt="coins" class="ml-1 mb-1" data-bs-toggle="tooltip" data-bs-placement="bottom" title="coins" height="15" src="/i/{{SITE_NAME}}/coins.webp?v=2">&nbsp;&nbsp;
{% if SITE_NAME not in ('Cringetopia', 'WPD') %} {% if SITE_NAME not in ('Cringetopia', 'WPD') %}
<span id="profile-bux-amount-mobile" class="font-weight-bold">{{u.procoins}}</span> <span id="profile-bux-amount-mobile" class="font-weight-bold">{{u.procoins}}</span>
<img alt="marseybux" class="ml-1 mb-1" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Marseybux" height="15" width="35" src="/assets/images/marseybux.webp?v=1008">&nbsp;&nbsp; <img alt="marseybux" class="ml-1 mb-1" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Marseybux" height="15" width="35" src="/i/marseybux.webp?v=1008">&nbsp;&nbsp;
{% endif %} {% endif %}
<a href="/@{{u.username}}/followers" class="font-weight-bold" id="profile--followers">{{u.stored_subscriber_count}} follower{{'s' if u.stored_subscriber_count != 1 else ''}}</a>&nbsp;&nbsp; <a href="/@{{u.username}}/followers" class="font-weight-bold" id="profile--followers">{{u.stored_subscriber_count}} follower{{'s' if u.stored_subscriber_count != 1 else ''}}</a>&nbsp;&nbsp;

View File

@ -1,6 +1,6 @@
{%- {%-
set CACHE_VER = { set CACHE_VER = {
'css/main.css': 343, 'css/main.css': 344,
'css/4chan.css': 61, 'css/4chan.css': 61,
'css/classic.css': 61, 'css/classic.css': 61,
@ -20,8 +20,8 @@ set CACHE_VER = {
'js/comments+submission_listing.js': 261, 'js/comments+submission_listing.js': 261,
'js/formatting.js': 240, 'js/formatting.js': 240,
'js/header.js': 272, 'js/header.js': 272,
'js/lottery.js': 254, 'js/lottery.js': 255,
'js/marked.js': 264, 'js/marked.js': 265,
'js/submit.js': 262, 'js/submit.js': 262,
'js/userpage.js': 241, 'js/userpage.js': 241,
'js/userpage_v.js': 245, 'js/userpage_v.js': 245,

View File

@ -5,23 +5,23 @@ INSERT INTO public.users (username, passhash, created_utc, admin_level, over_18,
) VALUES ('System', '', extract(epoch from now()), 0, true, true, '', '', 0, false, ) VALUES ('System', '', extract(epoch from now()), 0, true, true, '', '', 0, false,
0, 'System', '', 'hot', 'top', 'day', 'ff66ac', 'ff66ac', 0, 'System', '', 'hot', 'top', 'day', 'ff66ac', 'ff66ac',
'', 'dark', 'ff66ac', false, 'old.reddit.com', '', '', 0, 0, '', 'dark', 'ff66ac', false, 'old.reddit.com', '', '', 0, 0,
0, 0, '', 'Verified', 0, false, '/assets/images/pfps/2.webp', '/assets/images/pfps/2.webp'), 0, 0, '', 'Verified', 0, false, '/i/pfps/2.webp', '/i/pfps/2.webp'),
('AutoJanny', '', extract(epoch from now()), 0, true, true, '', '', 0, false, ('AutoJanny', '', extract(epoch from now()), 0, true, true, '', '', 0, false,
0, 'AutoJanny', '', 'hot', 'top', 'day', 'ff66ac', 'ff66ac', 0, 'AutoJanny', '', 'hot', 'top', 'day', 'ff66ac', 'ff66ac',
'', 'dark', 'ff66ac', false, 'old.reddit.com', '', '', 0, 0, '', 'dark', 'ff66ac', false, 'old.reddit.com', '', '', 0, 0,
0, 0, '', 'Verified', 0, false, '/assets/images/pfps/2.webp', '/assets/images/pfps/2.webp'), 0, 0, '', 'Verified', 0, false, '/i/pfps/2.webp', '/i/pfps/2.webp'),
('Snappy', '', extract(epoch from now()), 0, true, true, '', '', 0, false, ('Snappy', '', extract(epoch from now()), 0, true, true, '', '', 0, false,
0, 'Snappy', '', 'hot', 'top', 'day', '62ca56', 'e4432d', 0, 'Snappy', '', 'hot', 'top', 'day', '62ca56', 'e4432d',
'', 'dark', '30409f', false, 'old.reddit.com', '', '', 0, 0, '', 'dark', '30409f', false, 'old.reddit.com', '', '', 0, 0,
0, 0, '', 'Verified', 0, false, '/assets/images/pfps/3.webp', '/assets/images/pfps/3.webp'), 0, 0, '', 'Verified', 0, false, '/i/pfps/3.webp', '/i/pfps/3.webp'),
('longpostbot', '', extract(epoch from now()), 0, true, true, '', '', 0, false, ('longpostbot', '', extract(epoch from now()), 0, true, true, '', '', 0, false,
0, 'longpostbot', '', 'hot', 'top', 'day', '62ca56', 'e4432d', 0, 'longpostbot', '', 'hot', 'top', 'day', '62ca56', 'e4432d',
'', 'dark', '30409f', false, 'old.reddit.com', '', '', 0, 0, '', 'dark', '30409f', false, 'old.reddit.com', '', '', 0, 0,
0, 0, '', 'Verified', 0, false, '/assets/images/pfps/4.webp', '/assets/images/pfps/4.webp'), 0, 0, '', 'Verified', 0, false, '/i/pfps/4.webp', '/i/pfps/4.webp'),
('zozbot', '', extract(epoch from now()), 0, true, true, '', '', 0, false, ('zozbot', '', extract(epoch from now()), 0, true, true, '', '', 0, false,
0, 'zozbot', '', 'hot', 'top', 'day', '62ca56', 'e4432d', 0, 'zozbot', '', 'hot', 'top', 'day', '62ca56', 'e4432d',
'', 'dark', '30409f', false, 'old.reddit.com', '', '', 0, 0, '', 'dark', '30409f', false, 'old.reddit.com', '', '', 0, 0,
0, 0, '', 'Verified', 0, false, '/assets/images/pfps/5.webp', '/assets/images/pfps/5.webp'), 0, 0, '', 'Verified', 0, false, '/i/pfps/5.webp', '/i/pfps/5.webp'),
('AutoPoller', '', extract(epoch from now()), 0, true, true, '', '', 0, false, ('AutoPoller', '', extract(epoch from now()), 0, true, true, '', '', 0, false,
0, 'AutoPoller', '', 'hot', 'top', 'day', '62ca56', 'e4432d', 0, 'AutoPoller', '', 'hot', 'top', 'day', '62ca56', 'e4432d',
'', 'dark', '30409f', false, 'old.reddit.com', '', '', 0, 0, '', 'dark', '30409f', false, 'old.reddit.com', '', '', 0, 0,