aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/data
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-03-15 17:32:31 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-06 18:20:04 -0400
commit4011a091b69475e7096d80103b4dad9aa1b8d80b (patch)
tree2dcf382cd6161114e53c6bbf5c3b9545d007f8c6 /ext/bg/data
parent059db280bba858a3cab3a542aef13f19737aaf6e (diff)
Add support for {document-title}
Diffstat (limited to 'ext/bg/data')
-rw-r--r--ext/bg/data/default-anki-field-templates.handlebars4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/data/default-anki-field-templates.handlebars b/ext/bg/data/default-anki-field-templates.handlebars
index 0442f7c5..6061851f 100644
--- a/ext/bg/data/default-anki-field-templates.handlebars
+++ b/ext/bg/data/default-anki-field-templates.handlebars
@@ -158,4 +158,8 @@
<img src="{{definition.screenshotFileName}}" />
{{/inline}}
+{{#*inline "document-title"}}
+ {{~context.document.title~}}
+{{/inline}}
+
{{~> (lookup . "marker") ~}} \ No newline at end of file