Merge pull request #478 from mlevit/master

frontmatter images can now be external
This commit is contained in:
Timothy authored and GitHub committed 2022-06-13 13:46:19 +08:00
commit 315d667c47
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ const discussUrl = (slug) =>
const postDateTemplate = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }
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 (
<SectionContainer>