Closed ThorbenLindhauer closed 9 years ago
When generating a list of posts with pagination and the number of items is 0, no page is generated.
I'd expect that the first page is generated nonetheless, even though it contains no items.
The reason is the loop in https://github.com/nikku/kartoffeldruck/blob/master/lib/kartoffeldruck.js#L111 that is not entered when there are no items.
Thanks!
Released fix as v0.2.3
You are welcome :grinning:
When generating a list of posts with pagination and the number of items is 0, no page is generated.
I'd expect that the first page is generated nonetheless, even though it contains no items.
The reason is the loop in https://github.com/nikku/kartoffeldruck/blob/master/lib/kartoffeldruck.js#L111 that is not entered when there are no items.