forked from cccb-website-team/www
dummy testing for calendar logic
This commit is contained in:
parent
a9927edff4
commit
d94203aa15
5
build.sh
5
build.sh
|
@ -3,6 +3,9 @@
|
||||||
hugo $(cat .hugo-params)
|
hugo $(cat .hugo-params)
|
||||||
./tools/merge_cals.py
|
./tools/merge_cals.py
|
||||||
upcoming="$(tools/gen_upcoming.py static/all.ics 20 5 | tr '\n' ' ')"
|
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
|
cp static/all.ics public/all.ics
|
||||||
sed -i "s#CALENDAR#$upcoming#g" public/index.html
|
sed -i "s#CALENDAR#$upcoming#g" public/index.html
|
||||||
|
cat public/index.html
|
||||||
|
echo $upcoming
|
Reference in a new issue