docs/content/en/methods/site/Data.md
raw| 1 | --- |
| 2 | title: Data |
| 3 | description: Returns a data structure composed from the files in the data directory. |
| 4 | categories: [] |
| 5 | keywords: [] |
| 6 | params: |
| 7 | functions_and_methods: |
| 8 | returnType: map |
| 9 | signatures: [SITE.Data] |
| 10 | expiryDate: '2028-02-18' # deprecated 2026-02-18 in v0.156.0 |
| 11 | --- |
| 12 | |
| 13 | {{< deprecated-in 0.156.0 >}} |
| 14 | Use [`hugo.Data`](/functions/hugo/data/) instead. |
| 15 | {{< /deprecated-in >}} |