Exporting entries from Craft and showing them in Eleventy

  • Export button in craft
  • Tidy up the output
  • Add as json
  • Loop through
  • Single view

  • Download entries as CSV from craft
  • "[0-9]*?": regex to remove ids
  • make a JSON file with data
  • make a file which builds the single view

This website is currently having a full content audit - apologies if some of the code or content looks a bit funky!

View this post on Gitlab

You might also enjoy…

Mike Street

Written by Mike Street

Mike is a front-end developer from Brighton, UK. He spends his time writing, cycling and coding. You can find Mike on Twitter.