Skip to content

Commit

Permalink
Merge pull request #623 from greg0ire/adapt-to-type
Browse files Browse the repository at this point in the history
Adapt to NavMenuNode
  • Loading branch information
greg0ire authored Oct 6, 2024
2 parents fe4ff15 + b17a04e commit 9656500
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/guides/body/menu/menu.html.twig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="toc">
{% if node.caption %}
<p class="caption">{{ renderNode(node.caption) }}</p>
{% if node.hasOption('caption') %}
<p class="caption">{{ node.getOption('caption') }}</p>
{% endif -%}
{% include "body/menu/menu-level.html.twig" %}
</div>

0 comments on commit 9656500

Please sign in to comment.