mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 05:41:31 +00:00
Improved compress tool & Updated the Footer.
This commit is contained in:
@@ -58,6 +58,11 @@ function compress() {
|
||||
if [[ -d "$src" ]]; then
|
||||
compress $src $2 $item # recursion
|
||||
else
|
||||
|
||||
if [[ -z $(git status $src -s) ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
if [[ ! -d "$2/${sub_dir}" ]]; then
|
||||
mkdir -p $2/${sub_dir}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user