diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-11-19 12:02:00 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-11-19 12:02:25 -0800 |
commit | e80bcb9bea4e39dd62a984695f2c72d1a9a83ee2 (patch) | |
tree | 735935fb1fbb8d5f6aef0072071d874d79dbb3da /data/templates | |
parent | a78bef17b96f431aa3bc31c1b9f8b24a9b5ea64a (diff) | |
download | pandoc-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.asciidoc | 3 |
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$ |