I was just wondering whether there is a performance hit to using a data file containing data for over 1000 products with 10+ data points for each, instead of listing these data points in individual markdown files.
This is the structure I’m considering in data/foo.toml
:
[[product]]
name = "product1"
description = "A product"
facebook = "@product1"
twitter = "@product1"
website = "https://product1.com"
[[product]]
name = "product2"
....
In content/products
, there will be a markdown file generated for each product.
_index.md
product1.md [just date and title, possibly tags listed]
The alternative approach would be to list the majority of the information in each markdown file. I need to use the data file for some items to avoid content duplication and ensure consistency throughout as some of the information will be in another content section.