From 4a2479a53c281da5e298037b8bc00ec74a76f6fa Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 23 Jan 2023 09:51:00 +0200 Subject: [PATCH] get rid of {{hole_prefix}} --- files/templates/home.html | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/files/templates/home.html b/files/templates/home.html index 669d51ada..2213add17 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -39,21 +39,19 @@ {% if sub %} {% if v %} - {%- set hole_prefix = '/h/' if not HOLE_STYLE_FLAIR else '' -%} - {% if sub.stealth %} - - + + {% else %} - - + + {% endif %} - - + + {% else %} - Block {{hole_prefix}}{{sub.name}} - Follow {{hole_prefix}}{{sub.name}} + Block /h/{{sub.name}} + Follow /h/{{sub.name}} {% endif %} {% endif %}