Skip to content

Commit 00a8caa

Browse files
committed
docs: update PAGE_EVENTS documentation to include raw Liquid syntax
- Added {% raw %} and {% endraw %} tags to properly wrap Liquid syntax in the example code block. - Ensured clarity in the documentation regarding the conditional display of awarded grant values.
1 parent 83db955 commit 00a8caa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/features/configuration-based/PAGE_EVENTS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,12 @@ Your API response:
115115
Page template:
116116

117117
```text
118+
{% raw %}
118119
{% if context.data.awardedGrantValue %}
119120
<p class="govuk-body">Congratulations. You are likely to receive up to £{{ context.data.awardedGrantValue }}.</p>
120121
{% endif %}
121122
<p class="govuk-body">You have not been awarded any funding for this application.</p>
122-
{% endif %}
123+
{% endraw %}
123124
```
124125

125126
Results in:

0 commit comments

Comments
 (0)