diff --git a/compile.sh b/compile.sh index 4c0fe08..f3b891c 100755 --- a/compile.sh +++ b/compile.sh @@ -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+="{\"dest\"=\"$filename\",\"time\"=\"$timestamp\"}," done echo "${t%?}]"