Skip to content

Commit

Permalink
Use bootstrap as submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
ericthelemur committed Nov 8, 2023
1 parent fabb9ab commit f0d01e8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[submodule "themes/uwcs"]
path = themes/uwcs
url = https://github.com/UWCS/new-site-theme
branch = master
[submodule "sass/bootstrap"]
path = sass/bootstrap
url = https://github.com/twbs/bootstrap
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e

export SCRIPT_DIR=$(dirname "$(realpath $0)")
cd $SCRIPT_DIR && echo "Running in $SCRIPT_DIR"
if [ -z $NO_PULL ]; then git pull --recurse-submodules; fi
if [ -z $NO_PULL ]; then git pull --force --recurse-submodules; fi

# Build main
./zola build --base-url https://warwickspeed.run --output-dir ../build --force
Expand Down
1 change: 1 addition & 0 deletions sass/bootstrap
Submodule bootstrap added at a4d2f5
2 changes: 1 addition & 1 deletion sass/uwcs-bootstrap.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "variables";

@import "bootstrap/bootstrap";
@import "bootstrap/scss/bootstrap";

@import 'custom/_general';
@import 'custom/_navbar';
Expand Down

0 comments on commit f0d01e8

Please sign in to comment.