Skip to content

Commit

Permalink
Updating baseurl
Browse files Browse the repository at this point in the history
  • Loading branch information
logandonley committed Sep 7, 2023
1 parent d65b404 commit 9aa98fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ directories=$(ls -d ../*/ | grep -vE "($(echo $excluded_dirs | sed 's/ /|/g'))/"
# Note: In the DIRECTORY_NAME part, I need to strip any relative path info and just get the actual directory name
for dir in $directories; do
dir_name=$(basename $dir)
hugo --minify --config "${dir}/config.toml" --contentDir "${dir}/content/" --destination "../public/${dir_name}" --baseURL="/${dir_name}/"
hugo --minify --config "${dir}/config.toml" --contentDir "${dir}/content/" --destination "../public/${dir_name}" --baseURL="/cloudbees-field-workshops/${dir_name}/"
done

0 comments on commit 9aa98fe

Please sign in to comment.