fixed marking index as feature bug

This commit is contained in:
Ro 2020-10-01 13:04:08 -07:00
parent 1130bcabdb
commit fdde954822

View file

@ -41,7 +41,8 @@ export default class Render {
return (
page.metadata.deleted === false &&
page.metadata.published === true &&
page.metadata.featured === true
page.metadata.featured === true &&
page.metadata.layout !== 'index'
);
});
for (let index = 0; index < pages.length; index++) {