Skip to content

Commit 8709f97

Browse files
stlgaitsgitbook-bot
authored andcommitted
GITBOOK-34: Estelle's Dec 9 changes - fix twig template not displayed properly
1 parent 33f7d41 commit 8709f97

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/cookbook/admin_panel/basic_operations.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,8 @@ return static function (ContainerConfigurator $container): void {
319319
{% endtab %}
320320
{% endtabs %}
321321

322+
{% code title="templates/book/show/content/body.html.twig" overflow="wrap" lineNumbers="true" %}
322323
```twig
323-
{% raw %}
324-
{# templates/book/show/content/body.html.twig #}
325-
326324
{% set book = hookable_metadata.context.book %}
327325
328326
<div class="page-body">
@@ -336,8 +334,8 @@ return static function (ContainerConfigurator $container): void {
336334
</div>
337335
</div>
338336
</div>
339-
{% endraw %}
340337
```
338+
{% endcode %}
341339

342340
{% hint style="info" %}
343341
Note that you can also [replace the default title](page_titles.md).

0 commit comments

Comments
 (0)