From f15f30019b50e84844375e98dc3734d6463ee2c5 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 28 Mar 2017 20:49:26 -0700 Subject: version bump, cloze support --- tmpl/fields.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'tmpl') diff --git a/tmpl/fields.html b/tmpl/fields.html index 33fbff44..ab1a9722 100644 --- a/tmpl/fields.html +++ b/tmpl/fields.html @@ -83,7 +83,19 @@ {{/inline}} {{#*inline "sentence"}} - {{~definition.sentence~}} + {{~#if definition.cloze}}{{definition.cloze.sentence}}{{/if~}} +{{/inline}} + +{{#*inline "cloze-prefix"}} + {{~#if definition.cloze}}{{definition.cloze.prefix}}{{/if~}} +{{/inline}} + +{{#*inline "cloze-body"}} + {{~#if definition.cloze}}{{definition.cloze.body}}{{/if~}} +{{/inline}} + +{{#*inline "cloze-suffix"}} + {{~#if definition.cloze}}{{definition.cloze.suffix}}{{/if~}} {{/inline}} {{#*inline "tags"}} -- cgit v1.2.3