Skip to content

Commit 0101aac

Browse files
jamiesmithmmistakes
authored andcommittedMay 11, 2018
fix broken recipe collection and make pets work (#1664)
1 parent c5562f5 commit 0101aac

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed
 

‎docs/_docs/13-collections.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ last_modified_at: 2018-03-20T16:00:02-04:00
77

88
Collections like posts and pages work as you'd expect. If you're new to them be sure to read [Jekyll's documentation](https://jekyllrb.com/docs/collections/).
99

10-
The theme has been built with collections in mind and you will find [several examples]({{ "/collection-archive/" | relative_url }}) on the demo site ([portfolio]({{ "/portfolio/" | relative_url }}), [recipes]({{ "/recipes/" | relative_url }}), pets).
10+
The theme has been built with collections in mind and you will find [several examples]({{ "/collection-archive/" | relative_url }}) on the demo site ([portfolio]({{ "/portfolio/" | relative_url }}), [recipes]({{ "/recipes/" | relative_url }}), [pets]({{ "/pets/" | relative_url }})).
1111

1212
**Collections in the Wild:** This set of documentation is also [built as a collection](https://github.com/{{ site.repository }}/blob/master/docs/_docs/) if you're looking for a fully fleshed out example to inspect.
1313
{: .notice--info}

‎docs/_pages/pets.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Pets
3+
layout: collection
4+
permalink: /pets/
5+
collection: pets
6+
entries_layout: grid
7+
classes: wide
8+
---
9+
10+
Sample document listing for the collection `_pets`.

‎docs/_pages/recipes-archive.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: collection
33
title: "Recipes"
44
collection: recipes
5-
permalink: /recipes-archive/
5+
permalink: /recipes/
66
author_profile: false
77
---
88

0 commit comments

Comments
 (0)
Please sign in to comment.