How to set meta titles on category templates?

I have several categories and they all use the same category template. There’s a chance that the user will go across URL like /categories/design, how do I set the meta title and description for this page?

You can add additional metadata from front-matter if you create a content entry for that term: content/categories/design/ See the docs.

In template you can use the .Title and .Description as usual.


Thank you! I was trying categories/ as well but it got issue. Your solution is right!