diff --git a/compile.sh b/compile.sh index 81a0420..517646f 100755 --- a/compile.sh +++ b/compile.sh @@ -2,13 +2,9 @@ t='[' for entry in notes/* do - echo $entry filename=$(basename "$entry" .md) - echo $filename timestamp=`git log --format=%ad --date=format:'%Y-%m-%d' -- $entry` - echo $timestamp t+="{\"dest\"=\"$filename\",\"time\"=\"$timestamp\"}," - echo $t done -echo "value=${t%?} ]" +echo "value=${t%?}]"