OleVik / grav-plugin-presentation-deckset

Use Deckset Syntax with the Presentation-plugin.
MIT License
4 stars 0 forks source link

How enable footer and slide numbers #5

Closed badsonic closed 4 years ago

badsonic commented 4 years ago

Hello

What is the best/easiest option to enable a footer with slide numbers and maybe a controller to enable/disable notes?

Thanks for these amazing plugins

OleVik commented 4 years ago

The footer has two approaches, either the built-in template or through Reveal.js. If you just want slide numbers, passing slideNumber: true to Reveal.js should work, eg.:

options:
  slideNumber: true

In the plugin's options. For slide numbers, the latter approach is easiest. They can also work in conjunction, say, if you wanted to include a logo or title across all slides.

Notes do not have an explicit controller to enable or disable their rendering into HTML. However, they follow Reveal.js' approach for whether to show them with the presentation; the showNotes query-parameter. If you are using the Admin-plugin, there are shortcuts when editing the presentation to open the various modes of viewing it.

badsonic commented 4 years ago

Thank you. The Reveal.js option works well. I'll try the second one as it gives more options.