Section Templates
Add reusable sections that ensure design consistency and repeatability
- Intro to templates
- Building Section Templates:
- Using Section templates on your site:
- Deleting templates
- Unlinking templates
- Publishing templates
Introduction
Quick edit is the view that you see when you want to quickly dive into a template and change the content for only the place where you're using it.
An example might be a "Hero" section template that you use on 10 different pages on your site. If you want to change the image on just the page you're editing, you would use quick edit and overrides to do that.
Quick edit mode enables site managers to build pages quickly and easily, and ensures that what you build looks great and fully on brand. When in Quick Edit, you only see Overrides in order to edit the content on the page you are building.
Template Edit
Edit mode is used when building or updating section template funtionality and design settings.
Templates enable Nyla builders and designers to create reusable sections that remain consistent in all places that they're used. You can set which parts of the template should be Overridable to dictate what should be editable by users.
Once you publish a template and add it to pages, you can then update it everywhere all at once by using edit mode. This means that this mode is incredibly powerful, but needs to be used carefully once your site is live.
When in Template edit mode, section templates follow the same Publish flow as a page or other Nyla entity. A section template can have a live and draft version, and to move your changes to your live site, you must queue and publish your section template.
Create a Section Template
- Edit a section you want to turn into a template
- Click on Save as template on the section header
- Give the section template, choose at least one category, and press Create
Edit a section template
Edit template
- Click on the section you want to edit
- Click on Edit template
Adding content
Deleting content
Exit the edit template view
Template settings
Using Overrides: Quick edit
Adding section templates
- Open the page you want to add the section and:
- Click on the ➕ button on the header
- Click the ➕ between sections on the main page
- Click on + Add a section at the bottom of the sections
- Choose the section you would like to add, or choose to Add a blank section
Examples of use
With no overrides
With overrides
With source
Delete a section template
- Add it to a page in Nyla
- Click on Edit template to Edit section template
- Open template settings by clicking on Settings or the settings cog ⚙️
- Click on Delete section template
- Confirm by entering the template name and clicking on Delete
Unlink instance
- Click on Edit template to Edit section template
- Click on Unlink instance in the quick edit header