Use collection
layout
This commit is contained in:
parent
31b20a6ad0
commit
a8d3b4b613
2 changed files with 9 additions and 10 deletions
|
@ -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
test/_pages/recipes-archive.md
Normal file
9
test/_pages/recipes-archive.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
layout: collection
|
||||||
|
title: "Recipes"
|
||||||
|
collection: recipes
|
||||||
|
permalink: /recipes-archive/
|
||||||
|
author_profile: false
|
||||||
|
---
|
||||||
|
|
||||||
|
Sample document listing for the collection `_recipes`.
|
Loading…
Add table
Reference in a new issue