From edcd734a3074b066305e2e9143c66141a3f8e45b Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Tue, 22 Feb 2022 22:59:17 -0800 Subject: [PATCH] Fix dictionary logic for entires with only hiragana --- themes/tegakituesday.com/layouts/challenges/single.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/tegakituesday.com/layouts/challenges/single.html b/themes/tegakituesday.com/layouts/challenges/single.html index f2f275b..c546f53 100644 --- a/themes/tegakituesday.com/layouts/challenges/single.html +++ b/themes/tegakituesday.com/layouts/challenges/single.html @@ -45,9 +45,9 @@ {{- $.Scratch.Add "html" . -}} {{- end -}} {{- end -}} - {{- if .dictionary -}} - {{- $.Scratch.Set "dictionary" .dictionary -}} - {{- end -}} + {{- end -}} + {{- if .dictionary -}} + {{- $.Scratch.Set "dictionary" .dictionary -}} {{- end -}} {{- if and (not .dictionary) (not .pos) -}} {{- $.Scratch.Get "html" | safeHTML -}}