From 568464bc0eae3224a43a4e756af1376af13477be Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 25 Aug 2014 23:17:52 -0700 Subject: [PATCH] Add note to datafiles docs around CSV's. Ref: #2761 --- site/_docs/datafiles.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/site/_docs/datafiles.md b/site/_docs/datafiles.md index a8dd3bce..e333bdb9 100644 --- a/site/_docs/datafiles.md +++ b/site/_docs/datafiles.md @@ -10,8 +10,9 @@ In addition to the [built-in variables](../variables/) available from Jekyll, you can specify your own custom data that can be accessed via the [Liquid templating system](https://wiki.github.com/shopify/liquid/liquid-for-designers). -Jekyll supports loading data from [YAML](http://yaml.org/) and [JSON](http://www.json.org/) files located in the -`_data` directory. +Jekyll supports loading data from [YAML](http://yaml.org/), [JSON](http://www.json.org/), +and [CSV](https://en.wikipedia.org/wiki/Comma-separated_values) files located in the `_data` directory. +Note that CSV files *must* contain a header row. This powerful feature allows you to avoid repetition in your templates and to set site specific options without changing `_config.yml`.