itsnwa/gridsome-forestry-starter

Author template

Opened this issue · 0 comments

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.