From 2b4634f857ec551d4e9a7654fa2afd3a66e36b5d Mon Sep 17 00:00:00 2001 From: gooseman <16601315+geese-suck@users.noreply.github.com> Date: Mon, 14 Nov 2022 17:38:50 -0800 Subject: [PATCH] fix link opening lol --- files/templates/default.html | 3 ++- files/templates/util/macros.html | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/files/templates/default.html b/files/templates/default.html index af1ef1fef..f61fcb72a 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -37,9 +37,10 @@ {% set alt = ['/h/', sub, 'banner']|join %} {% elif SITE_NAME == "rDrama" %} {% set href = "https://secure.transequality.org/site/Donation2?df_id=1480" %} + {% set expand = false %} {% endif %} - {{ macros.banner(src, href, alt) }} + {{ macros.banner(src, href, alt, expand) }} {% endif %} {% endblock %} diff --git a/files/templates/util/macros.html b/files/templates/util/macros.html index 2009f0dbd..7e770dd91 100644 --- a/files/templates/util/macros.html +++ b/files/templates/util/macros.html @@ -1,6 +1,6 @@ -{% macro banner(src, href, alt) %} - - {{alt|default('site banner')}} +{% macro banner(src, href, alt, expand) %} + + {{alt|default('site banner')}} {% endmacro %}