Skip to content

Commit

Permalink
Merge pull request #2 from malyons/malyons-typo-data
Browse files Browse the repository at this point in the history
Update data-files.md
  • Loading branch information
MALyons authored Jun 12, 2017
2 parents b9e6697 + cebde7a commit 0a36f51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/data-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Reptar supports data files. That is, you can create either `.json` or `.yaml` fi

The data will be accessible in every template on the `site.data` object, with every key being the path and file name of your data file.

For example, if your data folder is `_data/` and you have a file `_data/tv/fall.yaml` with the contents of
For example, if your data folder is `_data/` and you have a file `_data/tv/fall.yaml` with the contents:

```yaml
- name: Grimm
Expand Down Expand Up @@ -40,4 +40,4 @@ module.exports = {
data: './_data'
},
};
```
```

0 comments on commit 0a36f51

Please sign in to comment.