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,
|
||||
language: "en"
|
||||
}
|
||||
console.log(subtitles)
|
||||
//console.log(subtitles)
|
||||
}
|
||||
|
||||
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 epdata = await getLatestPodcastEpisode()
|
||||
|
||||
const firstimage = await getLatestGalleryImage()
|
||||
|
||||
const pagedata = {'title': 'Angry Beanie'}
|
||||
|
||||
const combined = getLatestContent()
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue