From 85270b9b69a92b856ffac133d9967e4926a8779c Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Fri, 8 May 2020 16:38:07 -0400 Subject: [PATCH] handle omit images on fragspage too --- views/honkfrags.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/views/honkfrags.html b/views/honkfrags.html index 82f58f8..0edc072 100644 --- a/views/honkfrags.html +++ b/views/honkfrags.html @@ -2,9 +2,10 @@ {{ $BonkCSRF := .HonkCSRF }} {{ $MapLink := .MapLink }} {{ $Badonk := .User.Options.Reaction }} +{{ $OmitImages := .User.Options.OmitImages }}

{{ .ServerMessage }}

{{ range .Honks }} -{{ template "honk.html" map "Honk" . "MapLink" $MapLink "BonkCSRF" $BonkCSRF "Badonk" $Badonk }} +{{ template "honk.html" map "Honk" . "MapLink" $MapLink "BonkCSRF" $BonkCSRF "Badonk" $Badonk "OmitImages" .OmitImages }} {{ end }}