I want to know if the following is possible with jekyll:
- A webpage there is list where you can click each item. > Sample image
- Each item is listed through a loop using the data inside the data.yml file from _data folder (jekyll)
- When a item is clicked, a pop-up modal will appear and the content should be based on the clicked item. > Sample Image
- These contents are also stored in the data.yml file
If this is possible, how do I extract the data in the data.yml when a user clicked an item?
for
loops, like:{% for data in site.data %}... html markup... {% endfor %}
. You should provide some code blocks here with the code you already have so people can help you by editing your code. We usually don't provide you with new code, we help you to modify your own code according to your needs. For a better explanation, please check this out. - Virtua Creative