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:
2222 <!-- ... some content -->
2323
2424 <!-- Embed the content of another page here -->
25- <!-- #include virtual="http:/ /..." -->
25+ <!-- #include virtual="/..." -->
2626
2727 <!-- ... more content -->
2828 </body >
@@ -121,8 +121,8 @@ The profile index page has not public caching, but the GDPR block has
121121 {# you can use a controller reference #}
122122 {{ render_ssi(controller('App\\Controller\\ProfileController::gdpr')) }}
123123
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')) }}
126126
127127 The ``render_ssi `` twig helper will generate something like:
128128
You can’t perform that action at this time.
0 commit comments