aboutsummaryrefslogtreecommitdiff
path: root/tmpl/fields.html
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/fields.html')
-rw-r--r--tmpl/fields.html14
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"}}