diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-03-28 20:49:26 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-03-28 20:49:26 -0700 |
commit | f15f30019b50e84844375e98dc3734d6463ee2c5 (patch) | |
tree | b4e6f8fe1da154edb8804c501c86c1006008162f /tmpl/fields.html | |
parent | 9de0d34af398b385e140a365a500ff20dda45a7a (diff) |
version bump, cloze support1.1.9
Diffstat (limited to 'tmpl/fields.html')
-rw-r--r-- | tmpl/fields.html | 14 |
1 files changed, 13 insertions, 1 deletions
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"}} |