0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00

Site: sections anchors fix

Fixes #2369
This commit is contained in:
Luca Bonavita 2019-04-07 15:39:07 +01:00
parent 92b66a313e
commit f8214049d4

View File

@ -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>