fixed marking index as feature bug

nodejs-version-freeze
Ro 4 years ago
parent 1130bcabdb
commit fdde954822

@ -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++) {

Loading…
Cancel
Save