aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/templates/default.revealjs24
1 files changed, 16 insertions, 8 deletions
diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs
index 4f5b11031..ff88a4482 100644
--- a/data/templates/default.revealjs
+++ b/data/templates/default.revealjs
@@ -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: {