From 663adaa8612242dfce8c32ae5c7afc6be45c6eb6 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 22 Jul 2011 22:18:04 -0700 Subject: Renamed templates from .template to default.. --- default.markdown | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 default.markdown (limited to 'default.markdown') diff --git a/default.markdown b/default.markdown new file mode 100644 index 000000000..d500d3384 --- /dev/null +++ b/default.markdown @@ -0,0 +1,23 @@ +$if(titleblock)$ +% $title$ +% $for(author)$$author$$sep$; $endfor$ +% $date$ + +$endif$ +$for(header-includes)$ +$header-includes$ + +$endfor$ +$for(include-before)$ +$include-before$ + +$endfor$ +$if(toc)$ +$toc$ + +$endif$ +$body$ +$for(include-after)$ + +$include-after$ +$endfor$ -- cgit v1.2.3 From c08ed3f61a5dda0a33cda08106140be5a5cd6da4 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 12 Aug 2012 19:31:20 -0700 Subject: 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. --- default.markdown | 4 +--- default.plain | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'default.markdown') 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)$ -- cgit v1.2.3