From a8d3b4b613e05e9dadb63eee22c6ec38efd5d6e0 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Tue, 20 Mar 2018 14:47:23 -0400 Subject: [PATCH] Use `collection` layout --- test/_pages/recipes-archive.html | 10 ---------- test/_pages/recipes-archive.md | 9 +++++++++ 2 files changed, 9 insertions(+), 10 deletions(-) delete mode 100644 test/_pages/recipes-archive.html create mode 100644 test/_pages/recipes-archive.md diff --git a/test/_pages/recipes-archive.html b/test/_pages/recipes-archive.html deleted file mode 100644 index f4ccce1c..00000000 --- a/test/_pages/recipes-archive.html +++ /dev/null @@ -1,10 +0,0 @@ ---- -layout: archive -title: "Recipes" -permalink: /recipes-archive/ -author_profile: false ---- - -{% for post in site.recipes %} - {% include archive-single.html %} -{% endfor %} \ No newline at end of file diff --git a/test/_pages/recipes-archive.md b/test/_pages/recipes-archive.md new file mode 100644 index 00000000..cdde1e4e --- /dev/null +++ b/test/_pages/recipes-archive.md @@ -0,0 +1,9 @@ +--- +layout: collection +title: "Recipes" +collection: recipes +permalink: /recipes-archive/ +author_profile: false +--- + +Sample document listing for the collection `_recipes`. \ No newline at end of file