Support overriding the title slide template with an option.

This commit is contained in:
Toby Crawley 2013-10-18 22:42:16 -04:00
parent a73f8c420d
commit e37f80007c
1 changed files with 2 additions and 1 deletions

View File

@ -59,6 +59,7 @@
(:reveal-extra-css "REVEAL_EXTRA_CSS" nil nil nil) (:reveal-extra-css "REVEAL_EXTRA_CSS" nil nil nil)
(:reveal-extra-js "REVEAL_EXTRA_JS" nil nil nil) (:reveal-extra-js "REVEAL_EXTRA_JS" nil nil nil)
(:reveal-hlevel "REVEAL_HLEVEL" nil nil t) (:reveal-hlevel "REVEAL_HLEVEL" nil nil t)
(:reveal-title-slide-template "REVEAL_TITLE_SLIDE_TEMPLATE" nil org-reveal-title-slide-template t)
(:reveal-mathjax nil "reveal_mathjax" org-reveal-mathjax t) (:reveal-mathjax nil "reveal_mathjax" org-reveal-mathjax t)
(:reveal-mathjax-url "REVEAL_MATHJAX_URL" nil org-reveal-mathjax-url t) (:reveal-mathjax-url "REVEAL_MATHJAX_URL" nil org-reveal-mathjax-url t)
(:reveal-preamble "REVEAL_PREAMBLE" nil org-reveal-preamble t) (:reveal-preamble "REVEAL_PREAMBLE" nil org-reveal-preamble t)
@ -685,7 +686,7 @@ info is a plist holding export options."
<div class=\"slides\"> <div class=\"slides\">
<section> <section>
" "
(format-spec org-reveal-title-slide-template (org-html-format-spec info)) (format-spec (plist-get info :reveal-title-slide-template) (org-html-format-spec info))
"</section>\n" "</section>\n"
contents contents
"</div> "</div>