Skip to content

tzmanics/demo-restaurant-11ty-contentful

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

( ˘▽˘)っ♨ Eleventy + Contentful

ContentfullBelly Restaurant Site!

This demo uses a build plugin to grab data from Contentful and showcases it using Eleventy. Learn more about it in this awesome blog post.

And use this button to deploy it & add your Contenful env vars via the Netlify UI

Deploy to Netlify

oooor Create or link your project with the Netlify CLI

  • Create or link a Netlify project

    netlify create || netlify link

  • Add the Contentful Space ID

    netlify env:set CONTENTFUL_SPACE_ID XXX

  • Add the Contentful Content Delivery API access token

    netlify env:set CONTENTFUL_CONTENT_API_TOKEN XXX

  • Run Netlify Build to prime your build with the data (this will use your centrally managed env vars)

    netlify build

  • 🎊 You now have data to build against and run it locally

    netlify dev