diff --git a/build.sh b/build.sh index d60aa87..56d4f8d 100755 --- a/build.sh +++ b/build.sh @@ -3,6 +3,9 @@ hugo $(cat .hugo-params) ./tools/merge_cals.py upcoming="$(tools/gen_upcoming.py static/all.ics 20 5 | tr '\n' ' ')" +echo $upcoming +cat public/index.html cp static/all.ics public/all.ics sed -i "s#CALENDAR#$upcoming#g" public/index.html - +cat public/index.html +echo $upcoming \ No newline at end of file