Site: sections anchors fix

Fixes #2369
pull/2370/head
Luca Bonavita 6 years ago
parent 92b66a313e
commit f8214049d4

@ -351,7 +351,7 @@
<section data-id={section.slug}>
<h2>
<span class="offset-anchor" id={section.slug}></span>
<a href="#{section.slug}" class="anchor" aria-hidden></a>
<a href="docs#{section.slug}" class="anchor" aria-hidden></a>
{section.metadata.title}
<small>
@ -372,4 +372,4 @@
<button on:click="{() => show_contents = !show_contents}">
<Icon name="{show_contents? 'close' : 'menu'}"/>
</button>
</aside>
</aside>

Loading…
Cancel
Save