Closed davidsivocha closed 6 years ago
Thanks! Can you add a fallback if the author.json is not found?
Added a one liner, that creates a basic empty object tree so that it doesn't throw an error
I've refactored now. It will look for an author.json
If one is found it will use that, otherwise it will use the default original behaviou
Looks good, tested?
Tested under the following circumstances.
All test cases compile successfully with wintersmith build
flagging no errors
Thanks!
A+++ would merge again
Haha thanks. I'll have to see what else I can contribute to this!
By Default, the feed doesn't actually show the author name as it's not loaded
By creating a variable that correctly reads from the article metadata to pull in the JSON of the Author we can present the article author name in the feed.