Use collection layout

This commit is contained in:
Michael Rose 2018-03-20 14:47:23 -04:00
parent 31b20a6ad0
commit a8d3b4b613
2 changed files with 9 additions and 10 deletions

View file

@ -1,10 +0,0 @@
---
layout: archive
title: "Recipes"
permalink: /recipes-archive/
author_profile: false
---
{% for post in site.recipes %}
{% include archive-single.html %}
{% endfor %}

View file

@ -0,0 +1,9 @@
---
layout: collection
title: "Recipes"
collection: recipes
permalink: /recipes-archive/
author_profile: false
---
Sample document listing for the collection `_recipes`.