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
|
||||
}
|
||||
|
||||
img() {
|
||||
cp -r img/ "$rootDir/img/"
|
||||
}
|
||||
style() {
|
||||
# Updating index style
|
||||
cp style.css $rootDir/style.css
|
||||
@ -47,7 +50,7 @@ yeet() {
|
||||
init() {
|
||||
mkdir -p "$rootDir/page/" "$rootDir/post/" "$rootDir/fonts/" "$rootDir/img/"
|
||||
|
||||
cp ./img/* "$rootDir/img/"
|
||||
cp -r img/ "$rootDir"
|
||||
cp ./fonts/* "$rootDir/fonts/"
|
||||
|
||||
post
|
||||
|
Loading…
Reference in New Issue
Block a user