aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/bash')
-rw-r--r--resources/libraries/bash/function/hugo.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/resources/libraries/bash/function/hugo.sh b/resources/libraries/bash/function/hugo.sh
index bb749bcf01..052e8333fb 100644
--- a/resources/libraries/bash/function/hugo.sh
+++ b/resources/libraries/bash/function/hugo.sh
@@ -68,9 +68,12 @@ function hugo_init_modules () {
die "Please install Hugo!"
fi
+ hugo_book_url="github.com/alex-shpak/hugo-book"
+ hugo_book_version="v0.0.0-20230424134111-d86d5e70c7c0"
+ hugo_book_link="${hugo_book_url}@${hugo_book_version}"
pushd "${CSIT_DIR}"/docs || die "Pushd failed!"
export PATH=$PATH:/usr/local/go/bin
- hugo mod get -u || die "Failed to run Hugo mod!"
+ hugo mod get "${hugo_book_link}" || die "Failed to run Hugo mod!"
popd || die "Popd failed!"
}