Use collection layout

This commit is contained in:
Michael Rose committed 2018-03-20 14:47:23 -04:00
1 parent 31b20a6ad0
commit a8d3b4b613
2 files changed
+9 -10

No files matched your search

-10
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 %}
+9
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`.