remotes/1693045480750635534/spooky-22
Aevann1 2021-10-14 16:32:54 +02:00
parent d4cf2dccd9
commit 4739670f45
3 changed files with 3 additions and 5 deletions

View File

@ -833,7 +833,7 @@ def submit_post(v):
n = Notification(comment_id=c_jannied.id, user_id=v.id)
g.db.add(n)
if "rama" in request.host or (new_post.url and not "weebzone" in request.host and not "marsey.tech" in request.host):
if "rama" in request.host or new_post.url:
new_post.comment_count = 1
g.db.add(new_post)

View File

@ -268,7 +268,7 @@
<body id="{% if request.path != '/comments' %}{% block pagetype %}frontpage{% endblock %}{% endif %}" style="overflow-x: hidden; {% if v and v.background %} background:url(/assets/images/backgrounds/{{v.background}}) no-repeat center center fixed !important; background-size: cover!important; background-color: #000!important;{% endif %} {% if 'rama' in request.host %}margin-top: 29px!important;{% endif %}">
{% if "marsey.tech" not in request.host and '@' not in request.path %}
{% if '@' not in request.path %}
<a rel="nofollow noopener noreferrer" href="{% if 'rama' in request.host %}https://secure.transequality.org/site/Donation2?df_id=1480{% else %}/{% endif %}">
<img loading="lazy" style="margin-top: -3px;" src="/assets/images/{{'SITE_NAME' | app_config}}/{% if v %}banner.webp{% else %}cached.webp{% endif %}" width="100%">
</a>

View File

@ -11,9 +11,7 @@
<div class="flex-grow-1">
<a {% if v %}href="/"{% else %}href="/logged_out"{% endif %} class="navbar-brand">
<img loading="lazy" height="30" src="/assets/images/{{'SITE_NAME' | app_config}}/headericon.webp">
{% if "marsey.tech" in request.host %}
<span style="font-weight: bold; font-size: 20px;">marsey.tech</span>
{% elif "gigachadlife" in request.host %}
{% if "gigachadlife" in request.host %}
<span style="font-weight: bold; font-size: 20px;">GigaChadLife</span>
{% else %}
<img loading="lazy" src="/assets/images/{{'SITE_NAME' | app_config}}/logo.webp" height="20">