Assigning posts to multiple categories


Assigning posts to multiple categories was easy but only when I realised that in jekyll

“categories” != “category”

Thus, this works as expected:

categories: ['The is a category', 'This is another category'] 

and so does:

category: ['A single category']

but this does not:

category:  ['The is a category', 'This is another category'] 

Other useful resources on jekyll categories

One multiple categories solution

another solution

jekyll variables