upstream #1

Merged
jblu merged 1007 commits from upstream into main 2024-11-04 22:35:57 -06:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 315d667c47 - Show all commits

View File

@ -94,7 +94,7 @@ export const BlogSEO = ({
const featuredImages = imagesArr.map((img) => { const featuredImages = imagesArr.map((img) => {
return { return {
'@type': 'ImageObject', '@type': 'ImageObject',
url: `${siteMetadata.siteUrl}${img}`, url: img.includes('http') ? img : siteMetadata.siteUrl + img,
} }
}) })

View File

@ -17,7 +17,7 @@ const discussUrl = (slug) =>
const postDateTemplate = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' } const postDateTemplate = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }
export default function PostLayout({ frontMatter, authorDetails, next, prev, children }) { export default function PostLayout({ frontMatter, authorDetails, next, prev, children }) {
const { slug, fileName, date, title, tags } = frontMatter const { slug, fileName, date, title, images, tags } = frontMatter
return ( return (
<SectionContainer> <SectionContainer>