aboutsummaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-11-19 12:02:00 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2018-11-19 12:02:25 -0800
commite80bcb9bea4e39dd62a984695f2c72d1a9a83ee2 (patch)
tree735935fb1fbb8d5f6aef0072071d874d79dbb3da /data/templates
parenta78bef17b96f431aa3bc31c1b9f8b24a9b5ea64a (diff)
downloadpandoc-e80bcb9bea4e39dd62a984695f2c72d1a9a83ee2.tar.gz
Asciidoc template: add :lang: to title header is lang is set in metadata.
Closes #5088.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.asciidoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/default.asciidoc b/data/templates/default.asciidoc
index a89dc4520..7668a8325 100644
--- a/data/templates/default.asciidoc
+++ b/data/templates/default.asciidoc
@@ -9,6 +9,9 @@ $endif$
$if(keywords)$
:keywords: $for(keywords)$$keywords$$sep$, $endfor$
$endif$
+$if(lang)$
+:lang: $lang$
+$endif$
$if(toc)$
:toc:
$endif$