Skip to content

Commit dd55b8a

Browse files
committed
✨ Add edit link
1 parent 3efb55a commit dd55b8a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.vitepress/config.mts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ export default defineConfig({
2020
next: 'Nächste Seite',
2121
prev: 'Vorherige Seite',
2222
},
23+
editLink: {
24+
pattern: 'https://github.com/epiphyt/docs.epiph.yt/edit/main/:path',
25+
text: 'Diese Seite auf GitHub bearbeiten',
26+
},
2327
lastUpdated: {
2428
text: 'Zuletzt aktualisiert'
2529
},
@@ -59,6 +63,10 @@ export default defineConfig({
5963
dark: '/images/logo-sign_white.svg',
6064
light: '/images/logo-sign_black.svg',
6165
},
66+
editLink: {
67+
pattern: 'https://github.com/epiphyt/docs.epiph.yt/edit/main/:path',
68+
text: 'Edit this page on GitHub',
69+
},
6270
nav: [
6371
{ text: 'Home', link: '/' },
6472
{ text: 'Legal Notice', link: 'https://epiph.yt/en/imprint/' },

0 commit comments

Comments
 (0)