forked from cccb-website-team/www
refacture all the things!
This commit is contained in:
parent
9a7b9ba2c0
commit
2e3a02af0c
12 changed files with 169 additions and 153 deletions
7
build.sh
7
build.sh
|
@ -1,7 +1,8 @@
|
|||
#!/usr/bin/env sh
|
||||
#!/bin/sh
|
||||
|
||||
hugo $(cat .hugo-params)
|
||||
tools/merge_cals.py
|
||||
upcoming="$(tools/gen_upcoming.py static/all.ics 20 5|tr '\n' ' ')"
|
||||
./tools/merge_cals.py
|
||||
upcoming="$(tools/gen_upcoming.py static/all.ics 20 5 | tr '\n' ' ')"
|
||||
cp static/all.ics public/all.ics
|
||||
sed -i "s#CALENDAR#$upcoming#g" public/index.html
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue