Use collection layout
This commit is contained in:
1 parent
31b20a6ad0
commit
a8d3b4b613
2 files changed
+9
-10
No files matched your search
@@ -1,10 +0,0 @@
|
||||
---
|
||||
layout: archive
|
||||
title: "Recipes"
|
||||
permalink: /recipes-archive/
|
||||
author_profile: false
|
||||
---
|
||||
|
||||
{% for post in site.recipes %}
|
||||
{% include archive-single.html %}
|
||||
{% endfor %}
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
layout: collection
|
||||
title: "Recipes"
|
||||
collection: recipes
|
||||
permalink: /recipes-archive/
|
||||
author_profile: false
|
||||
---
|
||||
|
||||
Sample document listing for the collection `_recipes`.
|
||||
Reference in new issue
Block a user