This commit is contained in:
2025-04-25 22:47:47 +02:00
parent e1ac70d6d7
commit e6bd139462
2 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ for entry in notes/*
do
filename=$(basename "$entry" .md)
timestamp=`git log --format=%ad --date=format:'%Y-%m-%d' -- $entry`
t+="{\"dest\":\"$filename\",\"time\":\"$timestamp\"},"
t+="{\"source\":\"$entry\"\"dest\":\"public/posts/$filename_$timestamp\",\"time\":\"$timestamp\"},"
done
echo "${t%?}]"