Improved compress tool & Updated the Footer.
This commit is contained in:
parent
ac9dc4d9ac
commit
b64598358d
2 changed files with 8 additions and 2 deletions
|
@ -23,8 +23,9 @@
|
||||||
<p class="mb-0">
|
<p class="mb-0">
|
||||||
Powered by
|
Powered by
|
||||||
<a href="https://jekyllrb.com" target="_blank">Jekyll</a>
|
<a href="https://jekyllrb.com" target="_blank">Jekyll</a>
|
||||||
with theme
|
with
|
||||||
<a href="https://github.com/cotes2020/jekyll-theme-chirpy/">Chirpy</a>.
|
<a href="https://github.com/cotes2020/jekyll-theme-chirpy/">Chirpy</a>
|
||||||
|
theme.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -58,6 +58,11 @@ function compress() {
|
||||||
if [[ -d "$src" ]]; then
|
if [[ -d "$src" ]]; then
|
||||||
compress $src $2 $item # recursion
|
compress $src $2 $item # recursion
|
||||||
else
|
else
|
||||||
|
|
||||||
|
if [[ -z $(git status $src -s) ]]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ ! -d "$2/${sub_dir}" ]]; then
|
if [[ ! -d "$2/${sub_dir}" ]]; then
|
||||||
mkdir -p $2/${sub_dir}
|
mkdir -p $2/${sub_dir}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue