Quick fix to remove podcast and image foo from front page

This commit is contained in:
James Purser 2024-10-07 15:56:54 +11:00
parent f21de8ca4f
commit 23c9584cfe
2 changed files with 2 additions and 6 deletions

View file

@ -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}`;

View file

@ -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
}
}