Skip to content

Commit 93906b8

Browse files
committed
Add target: '_self' to navbar and footer links
1 parent 9dad49f commit 93906b8

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

docusaurus.config.js

+10-3
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,14 @@ const config = {
8484
logo: {
8585
alt: 'bpftrace Logo',
8686
src: 'img/bpftrace_Full_Logo-Black.svg',
87+
href: 'https://bpftrace.org',
88+
target: '_self',
8789
},
8890
items: [
8991
{
9092
to: 'https://bpftrace.org/learn',
9193
label: 'Learn',
94+
target: '_self',
9295
position: 'left',
9396
},
9497
{
@@ -105,9 +108,10 @@ const config = {
105108
position: 'left',
106109
},
107110
{
108-
href: 'https://github.com/bpftrace/bpftrace/discussions',
109-
label: 'Discussions',
110-
position: 'left',
111+
href: 'https://github.com/bpftrace/bpftrace/discussions',
112+
label: 'Discussions',
113+
target: '_self',
114+
position: 'left',
111115
},
112116
{
113117
type: 'docsVersionDropdown',
@@ -134,6 +138,7 @@ const config = {
134138
{
135139
label: 'One-Liner Introduction Tutorial',
136140
to: 'https://bpftrace.org/tutorial-one-liners',
141+
target: '_self',
137142
},
138143
],
139144
},
@@ -147,6 +152,7 @@ const config = {
147152
{
148153
label: 'Talks',
149154
href: 'https://bpftrace.org/videos',
155+
target: '_self',
150156
},
151157
],
152158
},
@@ -156,6 +162,7 @@ const config = {
156162
{
157163
label: 'Blog',
158164
to: 'https://bpftrace.org/blog',
165+
target: '_self',
159166
},
160167
{
161168
label: 'GitHub',

0 commit comments

Comments
 (0)