1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Merge pull request #1321 from xcazin/toc

Use the toc-caption() utility macro in Tabbed ToCs as well
This commit is contained in:
Jeremy Ruston 2015-01-06 14:18:19 +00:00
commit 39dfcc43d3

View File

@ -167,7 +167,7 @@ tags: $:/tags/Macro
<div class="tc-tabbed-table-of-contents-content"> <div class="tc-tabbed-table-of-contents-content">
<$reveal state="""$selectedTiddler$""" type="nomatch" text=""> <$reveal state="""$selectedTiddler$""" type="nomatch" text="">
<$transclude mode="block" tiddler="$template$"> <$transclude mode="block" tiddler="$template$">
<h1><$transclude field="caption"><$view field="title"/></$transclude></h1> <h1><<toc-caption>></h1>
<$transclude mode="block">$missingText$</$transclude> <$transclude mode="block">$missingText$</$transclude>
</$transclude> </$transclude>
</$reveal> </$reveal>