Skip to content
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

Author template #5

Open
FistMeNaruto opened this issue Jan 17, 2019 · 0 comments
Open

Author template #5

FistMeNaruto opened this issue Jan 17, 2019 · 0 comments

Comments

@FistMeNaruto
Copy link

I have noticed there is an Author front matter template created on this starter, but the author select field on Journal front matter sources custom values. I think it would be a good idea to

  1. Add a sidebar section called Authors with only documents allowed as a content type and set the template to author
  2. Edit the Journal front matter author select field source type to Pages and set section to Authors

Now we are able to create authors with their own bio, image and twitter handles. The problem comes when trying to use it in Gridsome. After selecting an author for a journal entry, it is saved to journal post front matter as author: authors/testing.md (I could swear a few days ago, while testing with the same forestry settings, it would get saved as author: Name Surname). I'm not really sure how to get the author's bio/name/image. After this feature is implemented, it should be easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant