renamed file and nearly replaced virgin make file with chad rebuild everytime file
This commit is contained in:
parent
419a938414
commit
abd341bb87
@ -14,4 +14,18 @@ page() {
|
||||
pandoc $file --css style.css -s -o $rootDir/page/${fileName%.*}.html
|
||||
done
|
||||
}
|
||||
|
||||
style() {
|
||||
# Updating index style
|
||||
cp style.css $rootDir/style.css
|
||||
|
||||
# Updating page style
|
||||
cp style.css $rootDir/page/style.css
|
||||
sed -i 's/(.\/fonts/(..\/fonts/g' $rootDir/page/style.css
|
||||
|
||||
# Updating post style
|
||||
cp style.css $rootDir/post/style.css
|
||||
sed -i 's/(.\/fonts/(..\/fonts/g' $rootDir/post/style.css
|
||||
|
||||
}
|
||||
"$@"
|
Loading…
Reference in New Issue
Block a user