-
Notifications
You must be signed in to change notification settings - Fork 1
3.) Adding new partials
Allen Royston edited this page Jul 30, 2018
·
5 revisions
Creating new partials are a snap. Once they're created, they'll begin to show up in your partial selection modal (after you refresh the page). To add a partial, just follow the following steps.
1.) In the root folder, navigate to the following:
html/partials/2.) In here, create a new folder. You can name it anything.
html/partials/<foldername>3.) From here, you'll need to create two files: 1.) A .html template and a json file. The html file MUST HAVE the same name as the folder. The json file MUST HAVE the name default. For example:
- html/partials/newPartial/newPartial.html
- html/partials/newPartial/defaults.json4.) Populate the .html and .json with the correct content. Click here to see an example on how these two files should look.