Add patch script

parent 3c0cbe69
# 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.'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment