@@ -9,24 +9,24 @@ case $MODE in
99 " construction" )
1010 echo " π§ Switching to UNDER CONSTRUCTION mode..."
1111 if [ -f " index.md.backup" ]; then
12- cp index.md index.md .live
13- echo " β
Current site backed up as index.md .live"
12+ cp index.html index.html .live
13+ echo " β
Current site backed up as index.html .live"
1414 fi
1515
16- # The under construction content is already in index.md
16+ # The under construction content is already in index.html
1717 echo " β
Under construction page is now active"
1818 echo " π Your site will show the maintenance page"
1919 ;;
2020
2121 " live" )
2222 echo " π Switching to LIVE mode..."
2323 if [ -f " index.md.backup" ]; then
24- cp index.md.backup index.md
24+ cp index.md.backup index.html
2525 echo " β
Live site restored from backup"
2626 echo " π Your original site is now active"
2727 else
2828 echo " β No backup found (index.md.backup)"
29- echo " Please restore your original index.md manually"
29+ echo " Please restore your original index.html manually"
3030 fi
3131 ;;
3232
@@ -41,6 +41,7 @@ case $MODE in
4141 echo " "
4242 echo " Files:"
4343 echo " index.md.backup - Original site backup"
44- echo " index.md.live - Live site backup (when in construction mode)"
44+ echo " index.html.live - Live site backup (when in construction mode)"
45+ echo " index.html - Current active homepage"
4546 ;;
4647esac
0 commit comments