Richard Herbert
Richard Herbert
I'm not sure who ricardofiorani is but it's not me :-) I have zero experience of developing anything like this but maybe one day...
I'm looking to get an array of tags that I can then iterate over and then use `getFilteredByTag()` to get the content of the tag. Like grouping my content by...
Thanks @pdehaan I hadn't found that page. On the surface using `collections[ tags ]` looked like a good find but I'm using Liquid for my templating and all I get...
Yes, I tried dumping `{{ tag }}` but there was nothing there - strange??
That's a good lead, thanks. I'll try and translate that into Liquid and knock up a sample repo. I did think I'd have to drop into JavaScript, not one of...
Excuse me ignorance @tcurdt but I don't understand what youe `uniqueTags` filter is returning?
@dixonge I'm trying to do this with Liquid, which I didn't make clear at the start, and there doesn't seem to be anything like `collections.tagList` to get me an array...
Simply what I'm trying to do is get an array of content objects grouped by tags that I can iterate over and display.
@pdehaan @dixonge Thank you for your thoughts. So after much thrashing around, Googling, trial and error I think I have a Liquid working solution! In my `.eleventy.js`... ``` eleventyConfig.addFilter( 'keys',...
@ThePeach - Thanks, I'll take a look at that.