Posts list

Hi all !

I have the following structure :


I want to show a list of all articles posts on the /blog page.
How can I do it, please ?

Thanks !

In layouts/section/blog.html

<ul class="blog-posts">
{{ range .Data.Pages }}
<li>Whatever you want in each item...</li>
1 Like

Also. .Pages is short for .Data.Pages

1 Like

On the topic, I made some improvements to the lists page on the new docs concept. Go here for more information @dz213:

It works like a charm !
Thank you :smile: