Hello! I am having a lot of trouble getting this plugin to work with nested key/value pairs in my yaml front matter. I tried copying the "social" heatmap calendar example that was provided, but to no avail. ChatGPT couldn't help me either.
I have tried changing the where(p=> p.food) to where(p=>p.food.smoothie) but then I get an error message. This code block works perfectly well when the key/value pairs aren't nested.
Turns out that my front matter was invalid. With YAML, you cannot indent using the tab button, instead you must use spaces (two spaces is the convention).
Hello! I am having a lot of trouble getting this plugin to work with nested key/value pairs in my yaml front matter. I tried copying the "social" heatmap calendar example that was provided, but to no avail. ChatGPT couldn't help me either.
This is what my front matter looks like:
(I pressed tab to nest key/values, if that matters. )
Here is what my query looks like:
I have tried changing the
where(p=> p.food)
towhere(p=>p.food.smoothie)
but then I get an error message. This code block works perfectly well when the key/value pairs aren't nested.