From c425a2af65b2bddba2be08ef4ff629950df2d358 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 17 Feb 2024 14:31:03 +0200 Subject: [PATCH] only show the first tagline to loggedout --- files/helpers/config/const.py | 2 +- files/templates/home.html | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index 001641c49..72f5dcade 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -263,9 +263,9 @@ if SITE_NAME == 'rDrama': patron = "Paypig" TAGLINES = ( + "largest cat pics site", "largest online LGBTQ+ club", "largest online furfest", - "largest cat pics site", "largest basket-weaving forum", "largest autism support group", "largest aztec heritage forum", diff --git a/files/templates/home.html b/files/templates/home.html index 22f3d62f6..a5fb5cc70 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -6,8 +6,11 @@ {% elif request.path == '/' %} {% if IS_DKD() %} Kongrama - {% else %} + {# DELETE_ME_PLS #} + {% elif v %} {{SITE_NAME}}{% if TAGLINES %}: {{TAGLINES|random()}}{% endif %} + {% else %} + {{SITE_NAME}}{% if TAGLINES %}: {{TAGLINES[0]}}{% endif %} {% endif %} {% else %} {{super()}}