Skip to content

Commit 2e27c69

Browse files
committed
Merge pull request #5 from iDGS/patch-3
Collection routes `locations` example repair
2 parents e19e18b + ae931b2 commit 2e27c69

File tree

1 file changed

+2
-2
lines changed
  • content/pages/1.guides/6.urls-and-routing

1 file changed

+2
-2
lines changed

content/pages/1.guides/6.urls-and-routing/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ collections:
130130

131131
Any time you're looping through the collection to render its data, each entry's `{{ url }}` will match to this format. For the `locations` collection, you could see URLs like the following:
132132

133-
- `http://example.com/stores/saratoga-springs/new-york`
134-
- `http://example.com/stores/miami/florida`
133+
- `http://example.com/stores/new-york/saratoga-springs`
134+
- `http://example.com/stores/florida/miami`
135135

136136
And in the blog you might see this:
137137

0 commit comments

Comments
 (0)