Skip to main content
One-Click Deploy: Skip local setup and deploy to Vercel instantly.

Quick start

First, create a virtual environment and install dependencies by running the below commands.
$ git clone https://github.com/ButterCMS/hugo-starter-buttercms.git
$ cd hugo-starter-buttercms
$ go mod download
To fetch your ButterCMS content, add your API token as an environment variable.
$ echo 'BUTTERCMS_API_TOKEN=your_token' >> .env
To fetch your ButterCMS content run:
$ go run github.com/ButterCMS/hugo-starter-buttercms/prebuild
To view the app in the browser, you’ll need to run the local development server:
$ hugo server
Local Development: http://localhost:1313/ GitHub Repository: https://github.com/ButterCMS/buttercms-hugo

What’s included

FeatureDescription
Pages & Page TypesPre-built page templates with drag-and-drop schema definition
ComponentsModular content blocks for dynamic landing pages
CollectionsStructured data for navigation, testimonials, FAQs
Blog EngineFull blog with posts, categories, tags, and search
Media CDNAutomatic image optimization via Filestack

Deploy options

Deploy to Netlify

One-click deploy to Netlify

Resources

GitHub Repository

View source code and contribute

Hugo Guide

Framework integration guide

Additional reading

Next steps

Core Concepts

Learn about Pages, Collections, and Components

API Reference

Explore the full ButterCMS API