From 57821e1cdf8aeb2e5756b75365ba457b14ac7f3b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 28 Jul 2011 17:35:26 -0700 Subject: 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 --- src/Text/Pandoc/Writers/HTML.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Writers') 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)] -- cgit v1.2.3