Fix eleventy route collisions

This commit is contained in:
Sam Carlton 2021-03-13 21:40:02 -06:00
parent 01da7a3cad
commit bf0d665866
4 changed files with 18 additions and 8 deletions

View file

@ -46,6 +46,10 @@ export function getAppEndpoint ( app ) {
return `/${appType}/${app.slug}`
}
export function getStoryEndpoint( app ) {
return `${getAppEndpoint(app)}/story/`
}
export function getVideoEndpoint ( video ) {
return `/tv/${video.slug}`