on master help sign in
fixing missing author metadata
f24595eGordon
pages/articles/[slug].js+1−1
@@ -40,7 +40,7 @@ export default function Article({
40export async function getStaticProps({ params }) {
40export async function getStaticProps({ params }) {
41 const post = getPostBySlug(
41 const post = getPostBySlug(
42 params.slug,
42 params.slug,
43− ["title", "slug", "URL", "publication", "date", "image", "content"],
43+ ["title", "slug", "URL", "publication", "author", "date", "image", "content"],
44 "articles"
44 "articles"
45 );
45 );
46
46