Skip to content

Commit 5ab1121

Browse files
committed
Improved compress tool & Updated the Footer.
1 parent ac10811 commit 5ab1121

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

_includes/footer.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
<p class="mb-0">
2424
Powered by
2525
<a href="https://jekyllrb.com" target="_blank">Jekyll</a>
26-
with theme
27-
<a href="https://github.com/cotes2020/jekyll-theme-chirpy/">Chirpy</a>.
26+
with
27+
<a href="https://github.com/cotes2020/jekyll-theme-chirpy/">Chirpy</a>
28+
theme.
2829
</p>
2930
</div>
3031

tools/js-compress.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ function compress() {
5858
if [[ -d "$src" ]]; then
5959
compress $src $2 $item # recursion
6060
else
61+
62+
if [[ -z $(git status $src -s) ]]; then
63+
continue
64+
fi
65+
6166
if [[ ! -d "$2/${sub_dir}" ]]; then
6267
mkdir -p $2/${sub_dir}
6368
fi

0 commit comments

Comments
 (0)