getpelican/pelican — pull request #555 by hooli (2012-10-21 13:05:38+00:00)
Title: Added check for blank author

I was looking for a way to turn off the Author feature.
If not defined, Pelican defaults the author to the OS user name (which might not be relevant on a host machine) or 'John Doe'. A blank Author is allowed, but not checked for.

This PR has two parts
1) Changed generator to ignore authors with no name (otherwise a hidden ".html" file is produced)
2) Changed the templates to check author.name instead, so the text "by " is not displayed on it's own.

I believe the author tag in ATOM feeds should be present, so did not amend the ATOM output.