I tried creating a regular document library with content types using my custom page layout. Each time I try to make a new page from within the new library, I get the error message. The page layout template works if used in default Pages
library.
Sorry, something went wrong
An unexpected error has occurred.
TECHNICAL DETAILS
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 9a438a9e-c0ae-6000-86a1-078208c1cd08
Date and Time: 8/31/2018 3:13:58 PM
GO BACK TO SITE
If above is not possible, how do I add a web part using the Pages
library. I'm trying to see if I can easily add dynamic table of contents or related links. The Pages
library is not visible from the list of apps.