From f7213864196421ab09fe3e0338d8f10979aaf95c Mon Sep 17 00:00:00 2001 From: Derpy Date: Mon, 24 Dec 2018 17:55:29 +0000 Subject: [PATCH] Include docs for `{{ page.collection }}` (#7430) Merge pull request 7430 --- docs/_data/jekyll_variables.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/_data/jekyll_variables.yml b/docs/_data/jekyll_variables.yml index f2812381..4ee9bcf6 100644 --- a/docs/_data/jekyll_variables.yml +++ b/docs/_data/jekyll_variables.yml @@ -120,6 +120,11 @@ page: /work/code/_posts/2008-12-24-closures.md would have this field set to ['work', 'code']. These can also be specified in the front matter. + - name: page.collection + description: >- + The label of the collection to which this document belongs. e.g. posts for a post, or + puppies for a document at path _puppies/rover.md. If not part of a + collection, an empty string is returned. - name: page.tags description: >- The list of tags to which this post belongs. These can be specified in the