fixed marking index as feature bug
This commit is contained in:
parent
1130bcabdb
commit
fdde954822
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,8 @@ export default class Render {
|
||||||
return (
|
return (
|
||||||
page.metadata.deleted === false &&
|
page.metadata.deleted === false &&
|
||||||
page.metadata.published === true &&
|
page.metadata.published === true &&
|
||||||
page.metadata.featured === true
|
page.metadata.featured === true &&
|
||||||
|
page.metadata.layout !== 'index'
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
for (let index = 0; index < pages.length; index++) {
|
for (let index = 0; index < pages.length; index++) {
|
||||||
|
|
Loading…
Reference in a new issue