aboutsummaryrefslogtreecommitdiff
path: root/ext/data/templates/default-anki-field-templates.handlebars
diff options
context:
space:
mode:
authorKuuuube <61125188+Kuuuube@users.noreply.github.com>2024-02-08 06:54:30 -0500
committerGitHub <noreply@github.com>2024-02-08 11:54:30 +0000
commit3486c0a96c477d1d5ec66c947bb7e94b44c8554a (patch)
tree60cc89306c843f76431fbaa0597879adc1b2b9c9 /ext/data/templates/default-anki-field-templates.handlebars
parentd0eb43716b36bd770950485d806531628de9d277 (diff)
Add cloze-body-kana handlebar (#650)
* Add cloze-body-kana handlebar * Convert if else to ternary
Diffstat (limited to 'ext/data/templates/default-anki-field-templates.handlebars')
-rw-r--r--ext/data/templates/default-anki-field-templates.handlebars4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/data/templates/default-anki-field-templates.handlebars b/ext/data/templates/default-anki-field-templates.handlebars
index 63613acf..2720b75b 100644
--- a/ext/data/templates/default-anki-field-templates.handlebars
+++ b/ext/data/templates/default-anki-field-templates.handlebars
@@ -160,6 +160,10 @@
{{~#if definition.cloze}}{{definition.cloze.body}}{{/if~}}
{{/inline}}
+{{#*inline "cloze-body-kana"}}
+ {{~#if definition.cloze}}{{definition.cloze.bodyKana}}{{/if~}}
+{{/inline}}
+
{{#*inline "cloze-suffix"}}
{{~#if definition.cloze}}{{definition.cloze.suffix}}{{/if~}}
{{/inline}}