diff --git a/src/layouts/EditPage.jsx b/src/layouts/EditPage.jsx index 872085ac4..2ee26d122 100644 --- a/src/layouts/EditPage.jsx +++ b/src/layouts/EditPage.jsx @@ -469,6 +469,7 @@ const EditPage = ({ match, isResourcePage, isCollectionPage, history, type }) => chunk={chunk} title={title} date={date} + isResourcePage={isResourcePage} resourceRoomName={deslugifyDirectory(resourceRoomName)} collection={resourceName} /> diff --git a/src/templates/SimplePage.jsx b/src/templates/SimplePage.jsx index 128f65807..083933e2a 100644 --- a/src/templates/SimplePage.jsx +++ b/src/templates/SimplePage.jsx @@ -3,9 +3,9 @@ import PropTypes from 'prop-types'; import PageHeader from './pageComponents/PageHeader'; // This following template was taken from the 'Simple Page' -const SimplePage = ({ chunk, title, date, collection, resourceRoomName }) => ( +const SimplePage = ({ chunk, title, date, collection, isResourcePage, resourceRoomName }) => (