travisdowns/travisdowns.github.io

Author field is blank in feed.xml

travisdowns opened this issue · 2 comments

In the RSS feed, the author element is blank:

<author><name/></author>

This turned out to be messier than I thought. To include <email> in the <author> tag with jekyll-feed you need to make the author element a map, but minima theme breaks when you do this as it expects a scalar.

Created issue for minima:

jekyll/minima#357

and for jekyll-feed:

jekyll/jekyll-feed#274

Maybe a fix or workaround will appear on those issues, but for now I've worked around it by extending the minima footer.html to accept author.name from the author map if present.

@cpitclaudel it should be fixed now. If you have a moment can you refresh your feed reader and see if my name & email show up as author? I tried with inoreader but it only updates once a day unless I shell out some cash or something.

As above, getting email into the feed was trickier than it needed to be, but I think I got it.