Hero_image wordt beter getoond nu
modified: pages/blog/[slug].js
This commit is contained in:
@@ -16,8 +16,8 @@ export default function BlogTemplate({ frontmatter, markdownBody, siteTitle }) {
|
|||||||
<article className={styles.blog}>
|
<article className={styles.blog}>
|
||||||
<figure className={styles.blog__hero}>
|
<figure className={styles.blog__hero}>
|
||||||
<Image
|
<Image
|
||||||
width="1920"
|
width="512"
|
||||||
height="1080"
|
height="512"
|
||||||
src={frontmatter.hero_image}
|
src={frontmatter.hero_image}
|
||||||
alt={`blog_hero_${frontmatter.title}`}
|
alt={`blog_hero_${frontmatter.title}`}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user