From 3486c0a96c477d1d5ec66c947bb7e94b44c8554a Mon Sep 17 00:00:00 2001 From: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Date: Thu, 8 Feb 2024 06:54:30 -0500 Subject: Add cloze-body-kana handlebar (#650) * Add cloze-body-kana handlebar * Convert if else to ternary --- ext/data/templates/default-anki-field-templates.handlebars | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/data/templates/default-anki-field-templates.handlebars') 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}} -- cgit v1.2.3