# Data or pages to collect a big number of items on one page?

**URL:** <https://talk.jekyllrb.com/t/data-or-pages-to-collect-a-big-number-of-items-on-one-page/4822>\
**Category:** Help\
**Created:** [August 7, 2020, 2:18pm UTC](https://talk.jekyllrb.com/t/data-or-pages-to-collect-a-big-number-of-items-on-one-page/4822 "2020-08-07T14:18:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koos](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@Koos](https://talk.jekyllrb.com/u/Koos)\
**Post date:** [August 7, 2020, 2:18pm UTC](https://talk.jekyllrb.com/t/data-or-pages-to-collect-a-big-number-of-items-on-one-page/4822/1 "2020-08-07T14:18:16Z")

</div>

Say I want to create one page with a big collection of items. In this case: hundreds of links with descriptions and tags. A bit like my [del.icio.us](http://del.icio.us) if you remember that, or old school Yahoo.

What would be the best way to approach that in Jekyll? One page with custom front matter for each item? Or one data file?

Would there be a difference in performance between those?

Now that I think about it, this would be a pain to maintain. Probably a spreadsheet that I export to json/yml would be easiest and thus a data file.

---

<div class="post-metadata">

**Author:** ![chuckhoupt](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/chuckhoupt/32/523_2.png) [@chuckhoupt](https://talk.jekyllrb.com/u/chuckhoupt)\
**Post date:** [August 7, 2020, 3:34pm UTC](https://talk.jekyllrb.com/t/data-or-pages-to-collect-a-big-number-of-items-on-one-page/4822/2 "2020-08-07T15:34:55Z")

</div>

> [@Koos](#):
>
> Probably a spreadsheet that I export to json/yml would be easiest and thus a data file.

Jekyll also supports the CSV format for data files, which can easily be imported/exported from spreadsheets.

---

<div class="post-metadata">

**Author:** ![Koos](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@Koos](https://talk.jekyllrb.com/u/Koos)\
**Post date:** [August 7, 2020, 4:04pm UTC](https://talk.jekyllrb.com/t/data-or-pages-to-collect-a-big-number-of-items-on-one-page/4822/3 "2020-08-07T16:04:32Z")

</div>

That’s great, I’m glad I asked here before trying stupid things!

---

<div class="post-metadata">

**Author:** ![xplosionmind](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/xplosionmind/32/4041_2.png) [@xplosionmind](https://talk.jekyllrb.com/u/xplosionmind)\
**Post date:** [August 14, 2020, 8:57am UTC](https://talk.jekyllrb.com/t/data-or-pages-to-collect-a-big-number-of-items-on-one-page/4822/4 "2020-08-14T08:57:19Z")

</div>

Hi @Koos, I’m looking for some solution like this, too. It would really help me if you shared here your workflow with CSV files and data management, and, more importantly, your Jekyll configuration to parse all of this data in a website page.

Two further specific questions:

1. For example, I have [this page](https://tommi.space/tuttopiu) on my website which has, as you can see, a LOT of data, but it isn’t all of the same type. I wrote all of it just in Markdown. Through CSV files, is there a way to insert specific links inside certain paragraphs (thus after a specific sub-heading)? Or even just adding additional information in a sub-element in the list?
2. Since you mentioned it at the beginning, how is this configuration for building performance?

Thanks a lot in advance! If you’d like to, share the link of the page you put all of the data in, I’m very curious!

Cheers,  
T

---

<div class="post-metadata">

**Author:** ![Koos](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@Koos](https://talk.jekyllrb.com/u/Koos)\
**Post date:** [August 15, 2020, 2:31pm UTC](https://talk.jekyllrb.com/t/data-or-pages-to-collect-a-big-number-of-items-on-one-page/4822/5 "2020-08-15T14:31:41Z")

</div>

Hey xplosionmind, I haven’t tried anything yet, I was just wondering about the possibilities. Will make a design next and then try with CSV. I’ve worked with data files before (and you too, I guess, making your menus) and you can put markdown in them. You only need to use the liquid markdownify filter to apply it. Like `{{ site.data.example.something | markdownify }}`.

BTW, your translations menu doesn’t work on the page you linked to ☹

---

<div class="post-metadata">

**Author:** ![xplosionmind](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/xplosionmind/32/4041_2.png) [@xplosionmind](https://talk.jekyllrb.com/u/xplosionmind)\
**Post date:** [August 15, 2020, 3:03pm UTC](https://talk.jekyllrb.com/t/data-or-pages-to-collect-a-big-number-of-items-on-one-page/4822/6 "2020-08-15T15:03:10Z")

</div>

Thanks for your feedback! I know, I have to fix some issues for the translations menu, it screws up when there’s one page only available.

Actually, I rarely use data files, they scare me quite a lot… they feel like an unmanageable thing that you can lose control of if you’re not too aware of what you’re doing while managing them, and definitely I’m not aware.

When you do try to use CSV as databases, please write something here, tbh I feel quite lost without a defined track of what to do. Anyways, I’ll study what you suggested and the related liquid tags and I’ll conduct some experiments.

Thanks again, have a nice day!
