How to preserve the category page if there's no related post?

#1

Given I have fixed categories, for example:

Development
SEO
Marketing

My current nav was generated using:

{{ range $key, $value := .Site.Taxonomies.categories }}
<a class="m-simple-nav__link" href="categories/{{ $key }}">{{ replace $key "-" " "| title }}</a>
{{ end }}

However, currently we don’t have enough content and couldn’t generate related contents for Development. But if I don’t create a post with Development category, menu won’t show up, it won’t be available as /categories/development either.

Any way to preserve /categories/development page if I don’t have a development category?

#2

I was able to fix it by referring to the similar solution here: