Skip to content

Commit 168aa8a

Browse files
authored
external links (#18)
docusauris uses _to_ for internal links and _href_ for external links This way the link gets the icon to indicate that the link opens in a new tab etc. In the footer the two community links were done this way but the More and Legal Links were not. This PR corrects that
1 parent d9a6257 commit 168aa8a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docusaurus.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ const config = {
150150
items: [
151151
{
152152
label: 'Blog',
153-
to: 'https://community.joomla.org/blogs.html',
153+
href: 'https://community.joomla.org/blogs.html',
154154
},
155155
{
156156
label: 'Magazine',
157-
to: 'https://magazine.joomla.org/',
157+
href: 'https://magazine.joomla.org/',
158158
},
159159
],
160160
},
@@ -163,11 +163,11 @@ const config = {
163163
items: [
164164
{
165165
label: 'Privacy',
166-
to: 'https://www.joomla.org/privacy-policy.html',
166+
href: 'https://www.joomla.org/privacy-policy.html',
167167
},
168168
{
169169
label: 'Terms',
170-
to: 'https://tm.joomla.org',
170+
href: 'https://tm.joomla.org',
171171
},
172172
],
173173
},

0 commit comments

Comments
 (0)