docs: Update _data in "Directory structure"
Add in references to _data format and extension options of .csv, .json, etc., consistent with _docs/datafiles.md Signed-off-by: Parker Moore <parkrmoore@gmail.com>
This commit is contained in:
parent
1c767febe5
commit
4c1427c400
|
@ -133,11 +133,12 @@ An overview of what each of these does:
|
|||
<p>
|
||||
|
||||
Well-formatted site data should be placed here. The jekyll engine
|
||||
will autoload all yaml files (ends with
|
||||
<code>.yml</code> or <code>.yaml</code>) in this directory. If
|
||||
there's a file <code>members.yml</code> under the directory,
|
||||
then you can access contents of the file
|
||||
through <code>site.data.members</code>.
|
||||
will autoload all YAML files in this directory (using either the
|
||||
<code>.yml</code>, <code>.yaml</code>, <code>.json</code> or
|
||||
<code>.csv</code> formats and extensions) and they will be
|
||||
accessible via `site.data`. If there's a file
|
||||
<code>members.yml</code> under the directory, then you can access
|
||||
contents of the file through <code>site.data.members</code>.
|
||||
|
||||
</p>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue