summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/HTML.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-07-28 17:35:26 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2011-07-28 17:35:26 -0700
commit57821e1cdf8aeb2e5756b75365ba457b14ac7f3b (patch)
treedadf73d2d370df2721ed9ddd603f39cb01fed0b0 /src/Text/Pandoc/Writers/HTML.hs
parent5c12221948cff8fa2a255323cd40f9e2e2ae3652 (diff)
Added s5-url and slidy-url variables, instead of hard-coding.
If you want to put your slidy files in the slidy subdirectory, for example, you can do pandoc -t slidy -V slidy-url=slidy -s
Diffstat (limited to 'src/Text/Pandoc/Writers/HTML.hs')
-rw-r--r--src/Text/Pandoc/Writers/HTML.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs
index 8492e59c0..573adbf4a 100644
--- a/src/Text/Pandoc/Writers/HTML.hs
+++ b/src/Text/Pandoc/Writers/HTML.hs
@@ -172,7 +172,8 @@ inTemplate opts tit auths date toc body' newvars =
, ("title", dropWhile (=='\n') $ showHtmlFragment tit)
, ("date", date')
, ("idprefix", writerIdentifierPrefix opts)
- ] ++
+ , ("slidy-url", "http://www.w3.org/Talks/Tools/Slidy2")
+ , ("s5-url", "ui/default") ] ++
[ ("html5","true") | writerHtml5 opts ] ++
(case toc of
Just t -> [ ("toc", showHtmlFragment t)]