Hauptordner der Seite umbenannt
von "sb" (static blog) zu "Website" (wie gewünscht) ;-)
This commit is contained in:
parent
fd3fc9856a
commit
c8ba286cf8
137 changed files with 1 additions and 1 deletions
|
|
@ -1,17 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# script im root dir ausführen
|
||||
working_directory=$(basename $(pwd))
|
||||
if [ "$working_directory" != "FOERBICO" ]; then
|
||||
echo "not in root dir 'FOERBICO'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
find sb/content/posts -type f -name 'index.md' | while read FILE ;
|
||||
do
|
||||
awk -f sb/scripts/move-author.awk $FILE > $FILE.out
|
||||
awk -f sb/scripts/move-date.awk $FILE.out > $FILE.out2
|
||||
mv $FILE.out2 $FILE
|
||||
rm $FILE.out
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue