I have been using Jekyll for more than 3 months. I made some blogs with him, but I have one question that I could not find anywhere.
To display all your posts, all markup files in _posts, I use a for loop like this, for example:
{% for post in site.posts %} {{post.title}} {% endfor %}
I want to do the same with my projects. I created the _projects folder and tried to display them using:
{% for project in site.projects %} {{project.title}} {% endfor %}
But Jekyll does not seem to recognize the _projects folder. What should I do to get the same results?
source share