This is a Hugo site using Sanity as a CMS. It was created with Stackbit in under a minute.
You can create a site just like this one, or explore some variations. How about a different:
✏️ CMS
-
Follow the installation guide to install Hugo
-
This theme uses Hugo Pipes to handle SCSS – please ensure you have the Hugo extended version installed:
hugo version
-
Get "stackbit-deploy (Read+Write)" API token from your Sanity management console
-
Assign this access token to the
SANITY_ACCESS_TOKEN
environment variable:export SANITY_ACCESS_TOKEN={sanity_read_write_api_token}
-
Run the following command to fetch the content from Sanity:
npx @stackbit/sanity-pull --ssg hugo --sanity-project-id onyn9d8m --sanity-token $SANITY_ACCESS_TOKEN
-
[Optional] Run Sanity Studio locally: install sanity-cli
npm install -g @sanity/cli
, navigate to the/studio
directory, and runsanity install
andsanity start
. You may be required to login with the Sanity CLI. -
Start the Hugo development server:
hugo server
-
Open http://localhost:1313/ in the browser
-
🎉
To start editing your site, you can use the Sanity interface at https://mighty-chili-330c6.sanity.studio/.
Alternatively, you can use the free on-page editing experience provided by the Stackbit Studio.
Here's a few resources to get you started:
- 📺 Editing Content
- 📺 Adding, Reordering and Deleting Items
- 📺 Collaboration
- 📺 Publishing
- 📚 Stackbit Documentation
If you need a hand, make sure to check the Stackbit support page.
Generated at 2021-09-28T15:15:43.764Z
by Stackbit version 0.3.55
.