見出しに表示するのをh3までにする
This commit is contained in:
parent
945532385d
commit
2d9a063716
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,9 @@
|
|||
<div style="margin:4px 0 0 8px;color:#aaaa;font-size:0.85em;">目次</div>
|
||||
<ul>
|
||||
{#each toclist as toc}
|
||||
<li><a href='#{toc.id}'>{toc.title}</a></li>
|
||||
{#if toc.depth < 4}
|
||||
<li><a href='#{toc.id}'>{toc.title}</a></li>
|
||||
{/if}
|
||||
{/each}
|
||||
</ul>
|
||||
</nav>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue