Quick fix to remove podcast and image foo from front page
This commit is contained in:
parent
f21de8ca4f
commit
23c9584cfe
2 changed files with 2 additions and 6 deletions
|
|
@ -190,7 +190,7 @@ export const generatePodcastFeeds = async () => {
|
||||||
type: episode.attributes.Subtitles.data.attributes.mime,
|
type: episode.attributes.Subtitles.data.attributes.mime,
|
||||||
language: "en"
|
language: "en"
|
||||||
}
|
}
|
||||||
console.log(subtitles)
|
//console.log(subtitles)
|
||||||
}
|
}
|
||||||
|
|
||||||
const url = `${siteURL}/podcasts/shows/${series.attributes.Slug}/${episode.attributes.Slug}`;
|
const url = `${siteURL}/podcasts/shows/${series.attributes.Slug}/${episode.attributes.Slug}`;
|
||||||
|
|
|
||||||
|
|
@ -39,16 +39,12 @@ export async function getStaticProps(context) {
|
||||||
|
|
||||||
const article = artdata.data[0].attributes
|
const article = artdata.data[0].attributes
|
||||||
|
|
||||||
const epdata = await getLatestPodcastEpisode()
|
|
||||||
|
|
||||||
const firstimage = await getLatestGalleryImage()
|
|
||||||
|
|
||||||
const pagedata = {'title': 'Angry Beanie'}
|
const pagedata = {'title': 'Angry Beanie'}
|
||||||
|
|
||||||
const combined = getLatestContent()
|
const combined = getLatestContent()
|
||||||
|
|
||||||
return {
|
return {
|
||||||
props: { article, pagedata, config: serverRuntimeConfig, firstimage, episodedata: epdata, siteConfig: config},
|
props: { article, pagedata, config: serverRuntimeConfig, siteConfig: config},
|
||||||
revalidate: 60 // will be passed to the page component as props
|
revalidate: 60 // will be passed to the page component as props
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue