Let\'s say I have a bunch of _data files that I use to create a list for specific pages. All of the pages that have these lists have a custom front matter varia
_data
You can use the bracket notation like this :
{% for item in site.data[page.pageName] %}