Merge pull request #3650 from chrisfinazzo/collections-docs
Merge pull request 3650
This commit is contained in:
commit
b718d4ea46
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue