To access the data using the index function, the file name is irrelevant.
To access the data using the notation, the file name must begin with an underscore or a Unicode letter, followed by zero or more underscores, Unicode letters, or Unicode digits. The data will be accessible as a map in the. These files must be YAML, JSON, XML, or TOML files (using the. In both cases, it’s a good idea to outsource the data in their (own) files. showing a larger dataset in a template (see the example below).extending the content when the front matter fields grow out of control, or.The data folder should store additional data for Hugo to use when generating your site.ĭata files are not for generating standalone pages.