fix: tempalte folder has to be ignored

This commit is contained in:
silver 2024-05-19 21:41:57 +01:00
parent 9e0b434430
commit ac61189be4
Signed by untrusted user: silver
GPG key ID: 54E2C71918E93B74

View file

@ -72,6 +72,11 @@ function build_pdf() {
cd "$folder_html"
for file in **/*.html; do
# skip teh template folder
if [[ $file == *"_Templates"* ]]; then
continue
fi
# only deal with files
if [ -f "$file" ]; then