diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md
index 00070e563c..a84bfd64ce 100644
--- a/site/content/docs/02-template-syntax.md
+++ b/site/content/docs/02-template-syntax.md
@@ -465,16 +465,16 @@ The `{@const ...}` tag defines a local constant.
```sv
{#each boxes as box}
- {@const area = box.width * box.height}
+ {@const area = box.width * box.height}
{box.width} * {box.height} = {area}
{/each}
```
-`{@const}` is only allowed as direct child of `{#each}`, `{:then}`, `{:catch}`, `` or ``.
+`{@const}` is only allowed as direct child of `{#if}`, `{:else if}`, `{:else}`, `{#each}`, `{:then}`, `{:catch}`, `` or ``.
### Element directives