fix broken recipe collection and make pets work (#1664)
This commit is contained in:
parent
c5562f53c1
commit
0101aac2ca
3 changed files with 12 additions and 2 deletions
|
@ -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/).
|
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.
|
**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}
|
{: .notice--info}
|
||||||
|
|
10
docs/_pages/pets.md
Normal file
10
docs/_pages/pets.md
Normal file
|
@ -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,7 +2,7 @@
|
||||||
layout: collection
|
layout: collection
|
||||||
title: "Recipes"
|
title: "Recipes"
|
||||||
collection: recipes
|
collection: recipes
|
||||||
permalink: /recipes-archive/
|
permalink: /recipes/
|
||||||
author_profile: false
|
author_profile: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue