aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/data/anki-field-templates-upgrade-v6.handlebars
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-11-04 20:39:23 -0500
committerGitHub <noreply@github.com>2020-11-04 20:39:23 -0500
commit5b9d709d4087c7d2b4210319840f6fc7b454d3b1 (patch)
tree14e71808fc6b8e805c6e8e385cc7555414cdf08d /ext/bg/data/anki-field-templates-upgrade-v6.handlebars
parent255c8b724e036d9d38e1dab4540974d11fc00bfa (diff)
Conjugation marker (#988)
* Add {conjugation} marker * Add info * Add upgrade * Update test
Diffstat (limited to 'ext/bg/data/anki-field-templates-upgrade-v6.handlebars')
-rw-r--r--ext/bg/data/anki-field-templates-upgrade-v6.handlebars8
1 files changed, 8 insertions, 0 deletions
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}}