I have tried various ways to have a “byline” and copyright support for multiple authors using hugo. I’ve tried multiple ways of expressing it as a variable and then generating it in a template but have come up short. What I wanted to do was have a generic author = “whoever” in the config.toml file, be able to override it in the the blog post metadata, and generate a byline in the blog post and change the copyright to the author.
I’ve tried things like $.Params(“author”), $.Params.author, and other forms of template variables to no effect, not parsed, returns nil, etc (I’m using 1.5), here for example, in the footer.copyright.html partial: