Hauptseite: Zeige Termine der nächsten 20 Tage.
This commit is contained in:
parent
974d7f3974
commit
74946e80b1
2
build.sh
2
build.sh
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
hugo $(cat .hugo-params)
|
hugo $(cat .hugo-params)
|
||||||
tools/merge_cals.py
|
tools/merge_cals.py
|
||||||
upcoming="$(tools/gen_upcoming.py static/all.ics 14 5|tr '\n' ' ')"
|
upcoming="$(tools/gen_upcoming.py static/all.ics 20 5|tr '\n' ' ')"
|
||||||
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
|
||||||
|
|
Reference in a new issue