Skip to content

Commit

Permalink
fix broken recipe collection and make pets work (mmistakes#1664)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiesmith authored and mmistakes committed May 11, 2018
1 parent de59ada commit a740bdb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/_docs/13-collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ last_modified_at: 2018-03-20T16:00:02-04:00

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/).

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).
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 }})).

**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.
{: .notice--info}
Expand Down
10 changes: 10 additions & 0 deletions docs/_pages/pets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Pets
layout: collection
permalink: /pets/
collection: pets
entries_layout: grid
classes: wide
---

Sample document listing for the collection `_pets`.
2 changes: 1 addition & 1 deletion docs/_pages/recipes-archive.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: collection
title: "Recipes"
collection: recipes
permalink: /recipes-archive/
permalink: /recipes/
author_profile: false
---

Expand Down

0 comments on commit a740bdb

Please sign in to comment.