For example,
{% assign tech = technology %}
now I made some post with the category technology. Now I want to loop them like this
<ul>
{% for post in site.categories.tech %}
<li>
<a>{{post.title}}</a>
</li>
{% endfor %}
</ul>
If I do the same procedure but specify the category fully “technology” it works. But whenever I use the variable “tech” it doesn’t work
Please help