Fix dictionary logic for entires with only hiragana
This commit is contained in:
parent
65e7d664c3
commit
edcd734a30
1 changed files with 3 additions and 3 deletions
|
@ -45,9 +45,9 @@
|
||||||
{{- $.Scratch.Add "html" . -}}
|
{{- $.Scratch.Add "html" . -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if .dictionary -}}
|
{{- end -}}
|
||||||
{{- $.Scratch.Set "dictionary" .dictionary -}}
|
{{- if .dictionary -}}
|
||||||
{{- end -}}
|
{{- $.Scratch.Set "dictionary" .dictionary -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if and (not .dictionary) (not .pos) -}}
|
{{- if and (not .dictionary) (not .pos) -}}
|
||||||
{{- $.Scratch.Get "html" | safeHTML -}}
|
{{- $.Scratch.Get "html" | safeHTML -}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue