diff options
author | John MacFarlane <jgm@berkeley.edu> | 2012-08-12 19:31:20 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2012-08-12 19:31:20 -0700 |
commit | c08ed3f61a5dda0a33cda08106140be5a5cd6da4 (patch) | |
tree | 516d6766f64f1b962a201018341e2cced45c4408 | |
parent | fbe83545996515a91025f829a5a328312d69793b (diff) | |
download | pandoc-c08ed3f61a5dda0a33cda08106140be5a5cd6da4.tar.gz |
Fixed titleblock in markdown, plain templates.
Now it is just a single string. Previously separate
title, author, and date variables were used, but this didn't
allow different kinds of title blocks.
-rw-r--r-- | default.markdown | 4 | ||||
-rw-r--r-- | default.plain | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/default.markdown b/default.markdown index d500d3384..95d7e52cc 100644 --- a/default.markdown +++ b/default.markdown @@ -1,7 +1,5 @@ $if(titleblock)$ -% $title$ -% $for(author)$$author$$sep$; $endfor$ -% $date$ +$titleblock$ $endif$ $for(header-includes)$ diff --git a/default.plain b/default.plain index 06ecbd3a6..95d7e52cc 100644 --- a/default.plain +++ b/default.plain @@ -1,7 +1,5 @@ $if(titleblock)$ -$title$ -$for(author)$$author$$sep$; $endfor$ -$date$ +$titleblock$ $endif$ $for(header-includes)$ |