How To Create Library For Site Pages


We are using the modern Site Pages to publish our manual so it will be mobile friendly. We are very happy with the pages and how they present on a phone. Is there a way to create a document library that's content type is only Site Pages? Or is there a different type of library I should be creating?

1 Reply
best response confirmed by smithme (Contributor)

Hi @smithme,


You can create a Document Library and use the "Site Page" content type, just be aware that it will not behave the same way as the default "Site Pages" page library does (i.e. manual page renaming, manual check in etc).


If the intent of the "Site Pages" Document Library is to consolidate certain pages for end user consumption there are other options. You could add a Site Column to the Site Pages library that denotes the category and build a view based on the site column.


Using the same Site Column you could also use the "Highlighted content" web part with a filter on "Page Properties". 



I'm sure there are other options.


I hope this helps.