Ind.ie is now Small Technology Foundation.
patch 574 Bytes
Newer Older
Aral Balkan's avatar
Aral Balkan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/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.'