diff --git a/init b/init index 2ac0d26..a5a5774 100755 --- a/init +++ b/init @@ -93,8 +93,8 @@ TWITTER="@DyneOrg" # Anything below is safe to leave untouched # -# Comment to disable Bootstrap -BOOTSTRAP=1 +# Uncomment to disable Bootstrap +# BOOTSTRAP=0 # What file extension to use for html files EXTENSION=".html" diff --git a/render b/render index 714418c..cd05ba2 100755 --- a/render +++ b/render @@ -101,7 +101,7 @@ render_header() { EOF - [[ $BOOTSTRAP = 1 ]] && { + [[ $BOOTSTRAP = 0 ]] && { cat < @@ -395,7 +395,7 @@ mkdir -p "$destination/css" mkdir -p "$destination/js" mkdir -p "$destination/img" -[[ $BOOTSTRAP = 1 ]] && { +[[ $BOOTSTRAP = 0 ]] || { #{ test -r "$destination"/css/bootstrap.css } || { cp "$SYS"/css/bootstrap.css "$destination"/css/ cp "$SYS"/img/* "$destination"/img/ @@ -458,7 +458,7 @@ EOF # don't forget the navbar render_file "$DIR"/tmpl/navbar.html >> $dst - [[ $BOOTSTRAP = 1 ]] && { + [[ $BOOTSTRAP = 0 ]] || { cat <> $dst

 

@@ -468,7 +468,7 @@ EOF cat $src | render_html >> $dst - [[ $BOOTSTRAP = 1 ]] && { + [[ $BOOTSTRAP = 0 ]] || { cat <> $dst