Skip to content

Commit 81a7085

Browse files
author
Maximilian Franzke
committed
chore(links): direct linking to those pages #1195
The link is missing a trailing slash, and caused a redirect. Adding the trailing slash would speed up browsing.
1 parent e164127 commit 81a7085

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

packages/docs/src/_data/navigation.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@
4848
"footerNav": [
4949
{
5050
"label": "Resources",
51-
"url": "/resources"
51+
"url": "/resources/"
5252
},
5353
{
5454
"label": "Updates",
55-
"url": "/updates"
55+
"url": "/updates/"
5656
},
5757
{
5858
"label": "Demos",
59-
"url": "/demos"
59+
"url": "/demos/"
6060
},
6161
{
6262
"label": "On Github",

packages/docs/src/_includes/layouts/home.njk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
<li class="c-tile-list__item">
1111
{% set styleModifier = 'c-tile--green' %}
1212
{% set title = 'Read the docs' %}
13-
{% set link = '/docs/installing-pattern-lab' %}
13+
{% set link = '/docs/installing-pattern-lab/' %}
1414
{% set description = "Learn how to get up and running with Pattern Lab, work with patterns, design with dynamic data, and use Pattern Lab's advanced features." %}
1515
{% include "components/tile.njk" %}
1616
</li>
1717
<li class="c-tile-list__item">
1818
{% set styleModifier = 'c-tile--orange' %}
1919
{% set title = 'Demos' %}
20-
{% set link = '/demos' %}
20+
{% set link = '/demos/' %}
2121
{% set description = "Demos of pattern starterkits for your project as well as a gallery of Pattern Lab projects in the wild" %}
2222
{% include "components/tile.njk" %}
2323
</li>
2424
<li class="c-tile-list__item">
2525
{% set styleModifier = 'c-tile--purple' %}
2626
{% set title = 'Resources' %}
27-
{% set link = '/resources' %}
27+
{% set link = '/resources/' %}
2828
{% set description = "Links to articles and resources around Pattern Lab and design systems" %}
2929
{% include "components/tile.njk" %}
3030
</li>
@@ -84,7 +84,7 @@
8484

8585
{% set styleModifier = 'c-tile--orange' %}
8686
{% set title = 'Open source and community driven' %}
87-
{% set link = '/support' %}
87+
{% set link = '/support/' %}
8888
{% set description = "Pattern Lab is (and will always be) an open source project. Check out the project on <a href='https://github.com/pattern-lab/patternlab-node'>GitHub</a> and join the <a href='https://gitter.im/pattern-lab/home'>Pattern Lab Gitter community</a> for conversation and support." %}
8989
{% include "components/tile.njk" %}
9090

0 commit comments

Comments
 (0)