fix(talks): add missing const
This commit is contained in:
parent
a174746500
commit
fab344bb78
2
justfile
2
justfile
|
@ -8,7 +8,7 @@ start:
|
||||||
|
|
||||||
create-daily date title:
|
create-daily date title:
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
vim $(./tools/scripts/create-daily.sh {{ date }} {{ title }})
|
vim $(./tools/scripts/create-daily.sh {{ date }} "{{ title }}")
|
||||||
|
|
||||||
deploy sha:
|
deploy sha:
|
||||||
rsync -r -avhP --delete dist/* opdavies@104.248.165.137:/srv/oliverdavies.uk
|
rsync -r -avhP --delete dist/* opdavies@104.248.165.137:/srv/oliverdavies.uk
|
||||||
|
|
|
@ -10,6 +10,8 @@ const talkCount = _(talks)
|
||||||
.flatMap((talk) => talk.data.events)
|
.flatMap((talk) => talk.data.events)
|
||||||
.size();
|
.size();
|
||||||
|
|
||||||
|
const today = new Date().valueOf();
|
||||||
|
|
||||||
const sortedTalks = talks
|
const sortedTalks = talks
|
||||||
.map((talk) => {
|
.map((talk) => {
|
||||||
const slug = `/talks/${talk.slug}`;
|
const slug = `/talks/${talk.slug}`;
|
||||||
|
|
Loading…
Reference in a new issue