summaryrefslogtreecommitdiff
path: root/data/templates/default.rst
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-02-20 20:52:00 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-02-20 20:52:00 +0100
commite390d754ef762d85db53a1e1ad978d16c30d68f7 (patch)
tree493ebd1daf8433ccd2a9aeabed233d66586c7f8b /data/templates/default.rst
parente86e44b98e592d5a5e4c6b43d9b57b195f091ed9 (diff)
parent9e52ac6bb02afd7b4ed5dad61021a1fa33051203 (diff)
Merge commit '9e52ac6bb02afd7b4ed5dad61021a1fa33051203' as 'data/templates'
Diffstat (limited to 'data/templates/default.rst')
-rw-r--r--data/templates/default.rst48
1 files changed, 48 insertions, 0 deletions
diff --git a/data/templates/default.rst b/data/templates/default.rst
new file mode 100644
index 000000000..30005d19b
--- /dev/null
+++ b/data/templates/default.rst
@@ -0,0 +1,48 @@
+$if(title)$
+$title$
+
+$endif$
+$for(author)$
+:Author: $author$
+$endfor$
+$if(date)$
+:Date: $date$
+$endif$
+$if(author)$
+
+$else$
+$if(date)$
+
+$endif$
+$endif$
+$if(math)$
+.. role:: math(raw)
+ :format: html latex
+..
+
+$endif$
+$if(rawtex)$
+.. role:: raw-latex(raw)
+ :format: latex
+..
+
+$endif$
+$for(include-before)$
+$include-before$
+
+$endfor$
+$if(toc)$
+.. contents::
+ :depth: $toc-depth$
+..
+
+$endif$
+$for(header-includes)$
+$header-includes$
+
+$endfor$
+$body$
+$for(include-after)$
+
+$include-after$
+$endfor$