Last active
June 6, 2021 17:43
-
-
Save hadisinaee/69bfb4c14cb69e38c84cdbde6dcc8038 to your computer and use it in GitHub Desktop.
Setup a website with Avicenna theme
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
#!/bin/sh | |
SITE_FOLDER=$1 | |
# creates the site folder | |
hugo new site $SITE_FOLDER | |
# install the latest avicenna theme | |
cd $SITE_FOLDER | |
git clone -b master git@github.com:hadisinaee/avicenna.git ./themes/avicenna | |
# copy the template site | |
cp -R themes/avicenna/exampleSite/* ./ | |
# runs the site | |
hugo serve |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment