Fix dictionary logic for entires with only hiragana

This commit is contained in:
Elnu 2022-02-22 22:59:17 -08:00
parent 65e7d664c3
commit edcd734a30

View file

@ -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 -}}