handling images in build script better now
This commit is contained in:
parent
79bb05fd06
commit
2432c6281a
5
build.sh
5
build.sh
@ -20,6 +20,9 @@ page() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img() {
|
||||||
|
cp -r img/ "$rootDir/img/"
|
||||||
|
}
|
||||||
style() {
|
style() {
|
||||||
# Updating index style
|
# Updating index style
|
||||||
cp style.css $rootDir/style.css
|
cp style.css $rootDir/style.css
|
||||||
@ -47,7 +50,7 @@ yeet() {
|
|||||||
init() {
|
init() {
|
||||||
mkdir -p "$rootDir/page/" "$rootDir/post/" "$rootDir/fonts/" "$rootDir/img/"
|
mkdir -p "$rootDir/page/" "$rootDir/post/" "$rootDir/fonts/" "$rootDir/img/"
|
||||||
|
|
||||||
cp ./img/* "$rootDir/img/"
|
cp -r img/ "$rootDir"
|
||||||
cp ./fonts/* "$rootDir/fonts/"
|
cp ./fonts/* "$rootDir/fonts/"
|
||||||
|
|
||||||
post
|
post
|
||||||
|
Loading…
Reference in New Issue
Block a user