RSSAmplifier

Blog posts by Saneef · Feb 26, 2026

Create pages from JSON files with Eleventy

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

A few days ago Katherine asked : in Eleventy, is there a way to generate pages from separate data (like person-a.json , person-b.json , …) instead of single data file with all the data. Right after seeing the question, I wrote up a JS script which reads all JSON files in a specified folder, combines them into an array and passes them as data to Eleventy. I had the feeling I was going against the…

Read on saneef.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.