-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
πβ¨ Add Co-Author field to Blog Posts #2176
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
@@ -3,13 +3,16 @@ title: TinaCMS sponsoring the Copenhagen Developers Festival | |||
date: '2024-08-13T14:00:00.000Z' | |||
last_edited: '2024-08-13T14:00:00.000Z' | |||
author: Landon Maxwell | |||
coAuthors: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coauthors is one word, sometimes hypenated
coAuthors: | |
coauthors: |
or
coAuthors: | |
co_authors: |
@@ -43,6 +43,12 @@ export const blogsCollection = { | |||
name: 'author', | |||
label: 'Author', | |||
}, | |||
{ | |||
type: 'string', | |||
name: 'coAuthors', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
@@ -13,6 +13,7 @@ query getExpandedPostDocument($relativePath: String!) { | |||
date | |||
last_edited | |||
author | |||
coAuthors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
awaiting designer |
As per #2107 we wanted to be able to acknowledge users when they are also 'checking' blog posts (as this can sometimes be a lengthy process π )
Changes:
page-index.tsx
file and[slug].tsx
file for blogsFigure: π Co-authors displayed on a blog post
Figure: π Co-authors displayed on minimised blog post /blog page