www/build.sh

7 lines
161 B
Bash
Executable file

#!/usr/bin/env sh
hugo
tools/merge_cals.py
upcoming="$(tools/gen_upcoming.py static/all.ics 7 7|tr '\n' ' ')"
sed -i "s#CALENDAR#$upcoming#g" public/index.html