From 7060e338acd85057be0038b15f0fca711d5845d0660fc01741a4c6756c0b8bae Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Wed, 25 Jan 2023 00:00:00 +0000 Subject: Remove extra variable assignment --- layouts/_default/single.gmi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index 04c09de..9e454a8 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -35,13 +35,11 @@ {{- $cur_chunk = $cur_chunk | emojify }} {{- if $before_pre }} - {{- $before_pre = $cur_chunk }} - {{- $before_pre | safeHTML }} + {{- $cur_chunk | safeHTML }} {{- $pre | safeHTML }} {{- else }} - {{- $after_pre = $cur_chunk }} {{- $pre | safeHTML }} - {{- $after_pre | safeHTML }} + {{- $cur_chunk | safeHTML }} {{- end }} {{- end }} -- cgit v1.2.3