The Pages section of Nyla enables you to navigate to different pages of your Nyla site, as well as being able to add new pages and organize them into folders.
Types of Pages
Home: Your Home page does not have a URL slug and is always the first page at the top of the UI. You will be able to replace your Home page with another page within the pages modal (just make sure that the page you are making your Home page is ready to be published at the time of doing so).Products: Product pages are found within the Products folder. They have the URL structure:
/products/[page-name]
Collections: Collection pages are within the Collections folder. They have the URL structure:
/collections/[page-name]
Accounts: Accounts pages pertain to the Accounts section of your site. Aside from a few exceptions (like Create Account and Log In), these pages are only visible to logged in users.
Blogs: Blog pages and posts can be added once you’ve added a Blog to your site. You do this in the same menu that you use to add new pages. Blog pages and posts have a specific URL structure and properties associated with them.
Pages
Every page in Nyla is like a blank canvas. You can add whatever content you want. Follow these steps to create and manage your pages in Nyla.
Unique Pages
There are a couple unique pages in Nyla. They are:
- Home Page
- 404 Page (in the Utilities folder). This page has /404 in the URL and enables you to create a custom 404 page.
Types of Pages
- Products
- Collections
- Accounts
- Blogs
Creating a Page
New pages can be added to your site by clicking on the + Button in the header of the left panel. All pages must have a title and URL slug.
Page Settings
Duplicating a Page
To duplicate a page, open the page settings of the page you want to duplicate. The new page will be created with copy after the name. Duplicating a page will duplicate the page will all of its content included.
Deleting a Page
Deleting a page also happens from the page settings modal. You will asked to confirm the page deletion.
Folders
Folders serve two functions within Nyla.
- Organization - Folders allow you to keep your pages organized in the Editor.
- URL Structure - Folders allow you to add URL hierarchy to your site. By switching on the URL structure for a folder, you can assign a slug to the folder which will be inherited by all page that you place within it. Folders with a URL structure do not have /pages/ as the root, instead taking the URL structure that you assign to the folder.
Default Folders
Nyla has a default folder called Utilities, which includes the 404 page.
Creating Folders
Folders can be added to your site by clicking on the + Button in the header of the left panel. Folders will be added to the current location they are being added to.
Folder Settings
Access folder settings by clicking on the settings cog (⚙️) on the right when you hover on a folder.
Within a folder settings you can rename a folder, as well as setting a URL structure to that folder.
Deleting a Folder
Deleting a folder can be done from the folder settings.