scratching my head over this - help much appreciated.
I want to display a list of all my Jekyll posts, organised by category. I know Line 3 isn\'t correct but I can
I can't recall the exact syntax off-hand but something like the following code should retrieve the category names to allow your to retrieve posts for each category...
{% for category in site.categories %}
{% assign cat_name = category[0] %}
{% for post in site.categories.cat_name %}
...
{% endfor%}
{% endfor %}