docs: update site component to edit main branch (#1577)

This commit is contained in:
Livio Amstutz 2021-04-12 13:19:42 +02:00 committed by GitHub
parent dd9f1d3c17
commit 0e1e7bb382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -457,7 +457,7 @@
{@html section.metadata.title}
<small>
<a
href="https://github.com/{owner}/{project}/edit/master/site/{path}/{dir}/{section.file}"
href="https://github.com/{owner}/{project}/edit/main/site/{path}/{dir}/{section.file}"
title={edit_title}>
<Icon name="las la-external-link-alt" size="24px" />
</a>
@ -487,4 +487,4 @@
{#if searchEnabled == true}
<SearchSelector on:close={handleSearch} {sections} slug={dir}></SearchSelector>
{/if}
{/if}