Skip to content

Commit

Permalink
Show structure type in TOC
Browse files Browse the repository at this point in the history
  • Loading branch information
Kajetan Dvoracek committed Aug 24, 2022
1 parent 79b25ff commit 2d53fec
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
<span>
<f:if condition="{child.title}">
<f:then>
<span class="meta-type-icon meta-type-{child.type}">{child.type}</span>
<f:format.crop maxCharacters="55" append="&nbsp;..."><f:format.htmlspecialchars doubleEncode="false">{child.title}</f:format.htmlspecialchars></f:format.crop>
</f:then>
<f:else>
<span class="meta-type-icon meta-type-{child.type}">{child.type}</span>
<f:format.crop maxCharacters="55" append="&nbsp;..."><f:format.htmlspecialchars doubleEncode="false">{child.type}</f:format.htmlspecialchars><f:if condition="{child.volume}"> &nbsp;<f:format.htmlspecialchars doubleEncode="false">{child.volume}</f:format.htmlspecialchars></f:if></f:format.crop>
</f:else>
</f:if>
Expand Down

0 comments on commit 2d53fec

Please sign in to comment.