How to customizing the Title


I am creating a local city directory.

For SEO purposes, I would the name of the city to be displayed on each sub-category page before the sub-category title.

I’ve found that the way to do this is to include the name of the city in each main category title.

But this reduces clarity on the homepage.

Is there are way I can insert the city name before each sub-category title on each sub-category page, without inserting in into each main category name?