mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 09:18:11 -05:00
Merge pull request #3650 from chrisfinazzo/collections-docs
Merge pull request 3650
This commit is contained in:
@@ -333,7 +333,11 @@ file, each document has the following 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 %}
|
||||
title: "Josquin: Missa De beata virgine and Missa Ave maris stella"
|
||||
|
||||
Reference in New Issue
Block a user