I'm trying to do the following:
{% for post in site.categories.{{ post.designer }} %}
So that when placing the above code inside a single post, it can display a list of posts from the current post's category.
However I don't think it's working because it just keeps returning undefined. My question is, is it possible in Jekyll or Liquid to place variables inside logic expressions?
Thanks