Merge pull request #3650 from chrisfinazzo/collections-docs

Merge pull request 3650
This commit is contained in:
Parker Moore 2015-04-13 12:05:05 -04:00
commit b718d4ea46
1 changed files with 5 additions and 1 deletions

View File

@ -333,7 +333,11 @@ file, each document has the following attributes:
## Accessing Collection Attributes ## Accessing Collection Attributes
Attributes from the YAML front matter can be accessed as data anywhere in the site. Using the above example for configuring a collection as `site.albums`, one might have front matter in an individual file structured as follows (which must use a supported markup format, and cannot cannot be saved with a `.yaml` extension or the like): Attributes from the YAML front matter can be accessed as data anywhere in the
site. Using the above example for configuring a collection as `site.albums`,
one might have front matter in an individual file structured as follows (which
must use a supported markup format, and cannot be saved with a `.yaml`
extension):
{% highlight yaml %} {% highlight yaml %}
title: "Josquin: Missa De beata virgine and Missa Ave maris stella" title: "Josquin: Missa De beata virgine and Missa Ave maris stella"