File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ The SSI instructions are done via HTML comments:
22
22
<!-- ... some content -->
23
23
24
24
<!-- Embed the content of another page here -->
25
- <!-- #include virtual="http:/ /..." -->
25
+ <!-- #include virtual="/..." -->
26
26
27
27
<!-- ... more content -->
28
28
</body >
@@ -121,8 +121,8 @@ The profile index page has not public caching, but the GDPR block has
121
121
{# you can use a controller reference #}
122
122
{{ render_ssi(controller('App\\Controller\\ProfileController::gdpr')) }}
123
123
124
- {# ... or a URL #}
125
- {{ render_ssi(url ('profile_gdpr')) }}
124
+ {# ... or a path (in server's SSI configuration is common to use relative paths instead of absolute URLs) #}
125
+ {{ render_ssi(path ('profile_gdpr')) }}
126
126
127
127
The ``render_ssi `` twig helper will generate something like:
128
128
You can’t perform that action at this time.
0 commit comments