- Clone and install the project
npx degit [email protected]:hygraph/hygraph-eleventy-blog-starter.git
- Provide your Hygraph project keys
In order to use this starter, you'll need to have created a new Hygraph project using our
Blog Template
.
Navigate into your new site’s directory and copy the .env.sample
file.
cd hygraph-blog
cp .env.sample .env
Inside of your newly created .env
file, provide values for each variable. These variables can be found in the project settings UI.
HYGRAPH_URL=""
- Start building!
Install the dependencies and start the Next.js dev server:
npm install
npm run dev
- Dynamic posts
- Dynamic pages
- Dynamic navigation
- Post table of contents generated from rich text