Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../bower_components/jquery/dist/jquery.js |
1 change: 1 addition & 0 deletions
1
nikola/data/themes/bootstrap3/assets/fonts/glyphicons-halflings-regular.woff2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#!/bin/bash | ||
|
||
# Update all bower packages | ||
bower update | ||
|
||
# Link bootstrap3 theme to bootstrap | ||
pushd nikola/data/themes/bootstrap3/assets/js/ | ||
ln -sf ../../../../../../bower_components/bootstrap/dist/js/*js . | ||
rm npm.js | ||
git add *js | ||
popd | ||
|
||
pushd nikola/data/themes/bootstrap3/assets/css/ | ||
ln -sf ../../../../../../bower_components/bootstrap/dist/css/* . | ||
git add * | ||
popd | ||
|
||
pushd nikola/data/themes/bootstrap3/assets/fonts/ | ||
ln -sf ../../../../../../bower_components/bootstrap/dist/fonts/* . | ||
git add * | ||
popd | ||
|
||
# Link moment.js to base theme | ||
pushd nikola/data/themes/base/assets/js | ||
ln -sf ../../../../../../bower_components/moment/min/moment-with-locales.min.js . | ||
git add moment-with-locales.min.js | ||
popd | ||
|
||
# Link JQuery to bootstrap theme | ||
pushd nikola/data/themes/bootstrap/assets/js | ||
ln -sf ../../../../../../bower_components/jquery/dist/* . | ||
git add * | ||
popd | ||
|
||
|
||
# Link colorbox into bootstrap theme | ||
pushd nikola/data/themes/bootstrap/assets/js | ||
ln -sf ../../../../../../bower_components/jquery-colorbox/jquery.colorbox.js . | ||
git add jquery.colorbox.js | ||
popd | ||
|
||
pushd nikola/data/themes/bootstrap/assets/js/colorbox-i18n | ||
ln -sf ../../../../../../../bower_components/jquery-colorbox/i18n/* . | ||
git add * | ||
popd | ||
|
||
pushd nikola/data/themes/bootstrap/assets/css/ | ||
ln -sf ../../../../../../bower_components/jquery-colorbox/example3/colorbox.css . | ||
git add colorbox.css | ||
popd | ||
|
||
pushd nikola/data/themes/bootstrap/assets/css/images/ | ||
ln -sf ../../../../../../../bower_components/jquery-colorbox/example3/images/* . | ||
git add * | ||
popd | ||
|