Skip to content

Commit

Permalink
Merge pull request #88 from beatrycze-volk/fix-toc
Browse files Browse the repository at this point in the history
[BUGFIX] Children without links should be enclosed in `span` element with class `a`
  • Loading branch information
MarcMoschSLUB authored Aug 13, 2024
2 parents 61879be + 1928a2e commit 8a570c1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@

<f:if condition="{child.doNotLinkIt}">
<f:then>
<f:render partial="TableOfContents/Title" arguments="{child: child}"/>
<span class="a">
<f:render partial="TableOfContents/Title" arguments="{child: child}"/>
</span>
</f:then>
<f:else>
<f:link.action
Expand Down

0 comments on commit 8a570c1

Please sign in to comment.