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:
|
||||
#!/usr/bin/env bash
|
||||
vim $(./tools/scripts/create-daily.sh {{ date }} {{ title }})
|
||||
vim $(./tools/scripts/create-daily.sh {{ date }} "{{ title }}")
|
||||
|
||||
deploy sha:
|
||||
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)
|
||||
.size();
|
||||
|
||||
const today = new Date().valueOf();
|
||||
|
||||
const sortedTalks = talks
|
||||
.map((talk) => {
|
||||
const slug = `/talks/${talk.slug}`;
|
||||
|
|
Loading…
Reference in a new issue