3

The key here is in looking at the template engine order of operations. You can see that snippets are processed very early on. It also so happens that if you set a layout variable multiple times, it's the last value which remains. So you can create a snippet which sets default for all of your metadata, then include that snippet alongside your layout tag in ...


1

One simple difference is that you can use only 1 layout template to do what takes at least 2 embeds to be done: header and footer code sections. Every template parsing you save counts. You can use embeds for several things: to nest the same module inside itself or modules which have conflicting variables inside each other, because this can cause serious ...


1

I do this by passing blocks of template content via layout variables. Thus you can put template specific content elements into a layout, but don't need to worry about doing any logic switching within the layout itself. Here is an example: First - here is the code within the layout to insert whatever is in a template design content block called ...


1

Click 'Reset Publish Layouts" in the bottom right of the tabs panel to put it back to how it was.


Only top voted, non community-wiki answers of a minimum length are eligible