dbelyaeff / cogear.js

Modern static websites generator (Node.JS/Webpack)

Home Page:https://cogearjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loop through some/all the pages

MariusStuparu opened this issue · comments

Hi,

I couldn't find this info in the docs. Is it possible to run a loop inside one of the pages (index for example) that reads all the other pages and outputs the content of all/some of them?

To the point, I want to creade a single page site, but have the different sections saved in multiple "pages", something like in Jekyll: {% for post in site.posts %}.