Skip to content

Commit 3ff739a

Browse files
authored
Merge pull request #1007 from ExpressionEngine/update-layout-set
added some clarification on layout set not being used with append and prepernd
2 parents ad12d1c + e09722c commit 3ff739a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/templates/layouts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ You can set variables in your templates that can later be used in your layouts.
8989

9090
#### {layout:set}
9191

92+
NOTE: **Note:** {layout:set} cannot be used with {layout:set:append} and {layout:set:prepend}
93+
9294
**Setting** a variable works similarly to setting a string variable in a programming language, like JavaScript. The contents are set to the variable name you provide. In your template:
9395

9496
{layout:set name='title'}My Page Title{/layout:set}

0 commit comments

Comments
 (0)