diff --git a/research/src/layouts/Layout.astro b/research/src/layouts/Layout.astro index 396c62f..378bfa2 100644 --- a/research/src/layouts/Layout.astro +++ b/research/src/layouts/Layout.astro @@ -95,6 +95,7 @@ const _ogImage = new URL( a, ul, li, + span, button, input { font-family: 'avenir_book'; diff --git a/research/src/pages/[id].astro b/research/src/pages/[id].astro index b05a619..52b40db 100644 --- a/research/src/pages/[id].astro +++ b/research/src/pages/[id].astro @@ -13,7 +13,10 @@ interface Category { interface ArticleData { id: string title: string - authors: { username: string }[] + authors: { + username: string, + twitter_username: string | null + }[] content: string views: string summary: string @@ -99,14 +102,16 @@ const formattedDate = formatDate(created_at)
-
-
+
+
Written by:{' '} - - {article.data?.authors - .map((author) => author.username) - .join(', ')} - + + {article.data?.authors.map((author) => ( + + {author.username} + + ))} +