CLI

Page Templates with Siteglide CLI

3min
templates must be stored within the following file path of your project marketplace builder/views/layouts/templates/ and must be liquid file type example this is an example template generated by siteglide below, we'll list available yml parameters, and body content \ metadata id 1 name main type page file type template last edit 1553195327594 use design system true physical file path views/layouts/templates/1 liquid \ {% include 'modules/siteglide system/siteglide head' %} \<! template upper content here > {{ content for layout }} \<! template lower content here > parameters metadata id used by ui to reference templates must be unique (required) name template name shown in ui (required) type used to define where the template shows in ui either page or email (required) file type set as 'template' (required) last edit timestamp of last edit shown in ui use design system true/false used to determine whether or not we automatically add assets from the siteglide design system module physical file path files should be stored in a location relative to their id if your id is 1, then the physical file path would be views/layouts/templates/1 liquid related articles learn more about page templates