reveal.js template fixes.
Put quotes around `controlsLayout`, `controlsBackArrows`, and `display`, since these require strings. Add `showSlideNumber`, `hashOneBasedIndex`, `pause`.
This commit is contained in:
parent
c1fbe7b91a
commit
a7b2bfb42d
1 changed files with 16 additions and 8 deletions
|
@ -93,12 +93,12 @@ $if(controlsTutorial)$
|
|||
$endif$
|
||||
$if(controlsLayout)$
|
||||
// Determines where controls appear, "edges" or "bottom-right"
|
||||
controlsLayout: $controlsLayout$,
|
||||
controlsLayout: '$controlsLayout$',
|
||||
$endif$
|
||||
$if(controlsBackArrows)$
|
||||
// Visibility rule for backwards navigation arrows; "faded", "hidden"
|
||||
// or "visible"
|
||||
controlsBackArrows: $controlsBackArrows$,
|
||||
controlsBackArrows: '$controlsBackArrows$',
|
||||
$endif$
|
||||
$if(progress)$
|
||||
// Display a presentation progress bar
|
||||
|
@ -108,17 +108,21 @@ $if(slideNumber)$
|
|||
// Display the page number of the current slide
|
||||
slideNumber: $slideNumber$,
|
||||
$endif$
|
||||
$if(showSlideNumber)$
|
||||
// 'all', 'print', or 'speaker'
|
||||
showSlideNumber: '$showSlideNumber$',
|
||||
$endif$
|
||||
$if(hash)$
|
||||
// Add the current slide number to the URL hash so that reloading the
|
||||
// page/copying the URL will return you to the same slide
|
||||
hash: $hash$,
|
||||
$endif$
|
||||
// Push each slide change to the browser history
|
||||
$if(history)$
|
||||
history: $history$,
|
||||
$else$
|
||||
history: true,
|
||||
$if(hashOneBasedIndex)$
|
||||
// Start with 1 for the hash rather than 0
|
||||
hashOneBasedIndex: $hashOneBasedIndex$,
|
||||
$endif$
|
||||
// Push each slide change to the browser history
|
||||
history: $if(history)$$history$$else$true$endif$,
|
||||
$if(keyboard)$
|
||||
// Enable keyboard shortcuts for navigation
|
||||
keyboard: $keyboard$,
|
||||
|
@ -170,6 +174,10 @@ $if(help)$
|
|||
// key is pressed
|
||||
help: $help$,
|
||||
$endif$
|
||||
$if(pause)$
|
||||
// Flags if it should be possible to pause the presentation (blackout)
|
||||
pause: $pause$,
|
||||
$endif$
|
||||
$if(showNotes)$
|
||||
// Flags if speaker notes should be visible to all viewers
|
||||
showNotes: $showNotes$,
|
||||
|
@ -317,7 +325,7 @@ $if(zoomKey)$
|
|||
$endif$
|
||||
$if(display)$
|
||||
// The display mode that will be used to show slides
|
||||
display: $display$,
|
||||
display: '$display$',
|
||||
$endif$
|
||||
$if(mathjax)$
|
||||
math: {
|
||||
|
|
Loading…
Add table
Reference in a new issue