placeholder
This commit is contained in:
@@ -4,7 +4,10 @@ for entry in notes/*
|
||||
do
|
||||
filename=$(basename "$entry" .md)
|
||||
timestamp=`git log --format=%ad --date=format:'%Y-%m-%d' -- $entry`
|
||||
t+="{\"source\":\"$entry\",\"dest\":\"public/posts/$filename_$timestamp\",\"time\":\"$timestamp\"},"
|
||||
dest="public/posts/$timestamp"
|
||||
dest+="_$filename"
|
||||
dest+=".html"
|
||||
t+="{\"source\":\"$entry\",\"dest\":\"$dest\",\"time\":\"$timestamp\"},"
|
||||
done
|
||||
echo "${t%?}]"
|
||||
|
||||
|
0
public/posts/.placeholder
Normal file
0
public/posts/.placeholder
Normal file
Reference in New Issue
Block a user