diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-11-04 20:39:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-04 20:39:23 -0500 |
commit | 5b9d709d4087c7d2b4210319840f6fc7b454d3b1 (patch) | |
tree | 14e71808fc6b8e805c6e8e385cc7555414cdf08d /ext/bg/data/default-anki-field-templates.handlebars | |
parent | 255c8b724e036d9d38e1dab4540974d11fc00bfa (diff) |
Conjugation marker (#988)
* Add {conjugation} marker
* Add info
* Add upgrade
* Update test
Diffstat (limited to 'ext/bg/data/default-anki-field-templates.handlebars')
-rw-r--r-- | ext/bg/data/default-anki-field-templates.handlebars | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/bg/data/default-anki-field-templates.handlebars b/ext/bg/data/default-anki-field-templates.handlebars index 2849ade9..776792c7 100644 --- a/ext/bg/data/default-anki-field-templates.handlebars +++ b/ext/bg/data/default-anki-field-templates.handlebars @@ -286,4 +286,13 @@ {{~#if definition.clipboardText~}}{{definition.clipboardText}}{{~/if~}} {{/inline}} +{{#*inline "conjugation"}} + {{~#if definition.reasons~}} + {{~#each definition.reasons~}} + {{~#if (op ">" @index 0)}} « {{/if~}} + {{.}} + {{~/each~}} + {{~/if~}} +{{/inline}} + {{~> (lookup . "marker") ~}} |