I have an authors folder (taxonomy) under content so I can link an author to a blog post. However, I don’t want to use the list, single pages and for them to show up in the sitemap yet.
In essence, I don’t want Hugo to render /authors and /authors/myname.
I’ve tried:
Adding the following to _index.md under /content/authors
Thanks for your reply @jmooring
For my first iteration of a website, I don’t want to use list or single pages nor to have a link to the author, just to have them in their own content folder and display their names on the posts.
Is there no way to disable these pages from rendering? Otherwise, I will have to remove them after Hugo as been built and modify the sitemap template, feel like there’s a smarter way.
If each post has a different author, just add the author directly to the post’s front matter. Then you can call {{ .Params.author }} in your template, and maybe wrap it in a <span> element,