sub -> hole

master
Aevann 2023-10-07 21:26:16 +03:00
parent c8b9fe78f1
commit 8062b33140
2 changed files with 2 additions and 2 deletions

View File

@ -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") %}

View File

@ -15,7 +15,7 @@
</tr>
</thead>
{% for sub, count in subs %}
{% for hole, count in subs %}
<tr>
<td>{{loop.index}}</td>
<td><a href="/h/{{hole}}">{{hole}} {% if hole.name in v.hole_blocks %}<span class="text-danger">[blocked, visit it to unblock it]</span>{% endif %}</a></td>