Title and Description tags for List pages

I tried looking around but couldn’t find anything. But what is the best way to add meta title and description to a page that has a list.html, for example blog? I would like to include some type of SEO on the list of pages. I’m still learning HUGO so the only way I could think is a bit messy which involves conditional statements with the URL such as if the url contains /blog/ then add title tag and description.

You can use an _index.md to manage frontmatter and metadata for list pages.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.