From 90bc9314f1c9cacf5284aa322b3e171e9e158595 Mon Sep 17 00:00:00 2001 From: Bud Parr Date: Mon, 2 Jun 2014 14:32:52 -0400 Subject: [PATCH] change label to collection To make it clear the label is of the document's collection --- lib/jekyll/document.rb | 2 +- site/docs/collections.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jekyll/document.rb b/lib/jekyll/document.rb index 5dbc47f0..28d19478 100644 --- a/lib/jekyll/document.rb +++ b/lib/jekyll/document.rb @@ -207,7 +207,7 @@ module Jekyll "path" => path, "relative_path" => relative_path, "url" => url, - "label" => collection.label + "collection" => collection.label } else data diff --git a/site/docs/collections.md b/site/docs/collections.md index 15e63ad0..91460c96 100644 --- a/site/docs/collections.md +++ b/site/docs/collections.md @@ -246,7 +246,7 @@ In addition to any YAML front-matter provided in the document's corresponding fi -

label

+

collection