on master help sign in
fixing missing author metadata
commitf24595eb5420fd545696be6c6a3aef5255d81e21 authorGordon <gordon@hey.com> dateMon 3 Oct 2022, 12:56 (4 years ago) parent4d7198a
1 file changed+1−1
pages/articles/[slug].js+1−1
pages/articles/[slug].js+1−1
@@ -40,7 +40,7 @@ export default function Article({
4040export async function getStaticProps({ params }) {
4141 const post = getPostBySlug(
4242 params.slug,
43− ["title", "slug", "URL", "publication", "date", "image", "content"],
43+ ["title", "slug", "URL", "publication", "author", "date", "image", "content"],
4444 "articles"
4545 );
4646