Split the error styling so that it's only served to pages that need it.

This commit is contained in:
Cutieguwu
2025-07-23 19:08:26 -04:00
parent 0c9bb0436e
commit 0c2b2672cf
4 changed files with 126 additions and 124 deletions

View File

@@ -38,9 +38,16 @@ do
then
echo -e "$green"Styling...
sass src/style.scss target/style.css
files=(
'style'
'errors/style'
)
echo -e "$cyan"' src/style.scss -> target/style.css'
for stylesheet in "${files[@]}"
do
echo -e "$cyan src/$stylesheet.scss -> target/$stylesheet.css"
sass src/$stylesheet.scss target/$stylesheet.css
done
elif [ "$x" == 'copy' ]
then