include-adm-zip #37

Closed
are0h wants to merge 28 commits from refs/pull/37/head into develop
Showing only changes of commit 43f23918d9 - Show all commits

View file

@ -48,7 +48,11 @@ export default class Render {
pages.sort((a, b) => parseFloat(b.metadata.id) - parseFloat(a.metadata.id));
const page = pages[index];
if (page.metadata.deleted === false && page.metadata.published === true) {
if (
page.metadata.deleted === false &&
page.metadata.published === true &&
page.metadata.layout !== 'index'
) {
if (recent.length < config.global.display_limit) {
recent.push({
title: page.metadata.title,