From 5b9d709d4087c7d2b4210319840f6fc7b454d3b1 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Wed, 4 Nov 2020 20:39:23 -0500 Subject: Conjugation marker (#988) * Add {conjugation} marker * Add info * Add upgrade * Update test --- ext/bg/data/anki-field-templates-upgrade-v6.handlebars | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ext/bg/data/anki-field-templates-upgrade-v6.handlebars (limited to 'ext/bg/data/anki-field-templates-upgrade-v6.handlebars') diff --git a/ext/bg/data/anki-field-templates-upgrade-v6.handlebars b/ext/bg/data/anki-field-templates-upgrade-v6.handlebars new file mode 100644 index 00000000..33a2f949 --- /dev/null +++ b/ext/bg/data/anki-field-templates-upgrade-v6.handlebars @@ -0,0 +1,8 @@ +{{#*inline "conjugation"}} + {{~#if definition.reasons~}} + {{~#each definition.reasons~}} + {{~#if (op ">" @index 0)}} « {{/if~}} + {{.}} + {{~/each~}} + {{~/if~}} +{{/inline}} -- cgit v1.2.3