Andy-set-studio / hylia

Hylia is a lightweight Eleventy starter kit to help you to create your own blog or personal website.
https://hylia.website
MIT License
905 stars 230 forks source link

Tag functionality #131

Closed JsonTyler closed 4 years ago

JsonTyler commented 4 years ago

Hello, thank you for your hard work on this! My question has to do with how to use multiple tags in the netlify cms side of using hylia for blog post creation w/ 11ty.

The image below on line 33-37 shows that you intended for it to be able to be used with multiple tags: image

However this is what happens when I try to do that in the cms (all are put into one tag): image

I have tried varying versions of tags separated by , and - but either way it just merges into one big tag.

The only way around this I found was to go into the code here and use this format: image

Which creates the two separate tags as seen here: image

But I believe that defeats the whole purpose of using Hylia with the netlify cms. Is this something that I am doing wrong or is it something that is current limitation?

JsonTyler commented 4 years ago

In investigating this I found this in the 11ty docs: image

Which led me to trying comma's again between tags in the netlify cms. It's now working, I must have had extra spaces at the end before. Sorry for the issue, I am going to close it but am leaving the information for anyone else who may run into the same thing or not know how.