...
 
Commits (2)
This diff is collapsed.
#!/bin/sh
# Patch the index.html file to remove the controls
# and the progress indicator from the main presentation
# and to set the opacity of the progress indicator to
# semi-transparent for the presentation display.
sed -i s/controls\:\ true,/controls\:\ false,/ index.html
sed -i s/progress\:\ true,/progress\:\ false,/ index.html
# Also, hide the slide numbers:
sed -z -i 's/.reveal\ .slide-number\ {\n\ \ display:\ none;/.reveal\ .slide-number\ {\n\ \ display:\ none\ !important;/' index.html
echo 'Presentation patched to hide controls and progress indicator.'