From 8062b331403e77f317cc4906295d9eb08c89a2b7 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 7 Oct 2023 21:26:16 +0300 Subject: [PATCH] sub -> hole --- files/templates/default.html | 2 +- files/templates/hole/holes.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/templates/default.html b/files/templates/default.html index c67327e47..49157c4b9 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -20,7 +20,7 @@ {% set src = "banner_error.webp" | asset_siteimg %} {% elif hole and hole.has_banners %} {% set src = hole.random_banner() %} - {% set alt = ['/h/', sub, 'banner']|join %} + {% set alt = ['/h/', hole, 'banner']|join %} {% set class = 'site-banner-hole' %} {% elif get_orgy(v) and os_path.exists(path ~ "/orgy_banners") %} {% set src = macros.random_image("assets/images/" ~ SITE_NAME ~ "/orgy_banners") %} diff --git a/files/templates/hole/holes.html b/files/templates/hole/holes.html index c169973c0..cacb6515b 100644 --- a/files/templates/hole/holes.html +++ b/files/templates/hole/holes.html @@ -15,7 +15,7 @@ - {% for sub, count in subs %} + {% for hole, count in subs %} {{loop.index}} {{hole}} {% if hole.name in v.hole_blocks %}[blocked, visit it to unblock it]{% endif %}