handle omit images on fragspage too

This commit is contained in:
Ted Unangst 2020-05-08 16:38:07 -04:00
parent 8dd2416998
commit 85270b9b69
1 changed files with 2 additions and 1 deletions

View File

@ -2,9 +2,10 @@
{{ $BonkCSRF := .HonkCSRF }}
{{ $MapLink := .MapLink }}
{{ $Badonk := .User.Options.Reaction }}
{{ $OmitImages := .User.Options.OmitImages }}
<div><p>{{ .ServerMessage }}</div>
<div>
{{ 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 }}
</div>