Hugo Static Site

This example builds a version of the ZestyBurger Site by feeding Zesty.io content into a statically-generated Hugo Site.Github: https://github.com/zesty-io/zesty-hugo

Getting Started


First, we'll need to install Hugo.


(If you aren't using brew, get it here)

debian / ubuntu

other platforms

See the Hugo Website

Next, let's clone the example project

Now, we simply need to install and run the project!

Note how npm install runs pullzesty

The example project's package.json also comes pre-equipped with some handy utility commands.

  • npm start # rebuilds data from zesty.io and runs a hugo server
  • npm run-script build-hugo # rebuilds data from zesty.io and runs hugo to build a folder in docs/
  • npm run-script all # rebuilds data from zesty.io, runs hugo to build a folder in docs/, and runs a hugo server

Understanding the Example Project


Hugo provides support for front-matter, which PullZesty takes advantage of to create the files. The real magic in this project lies in the zesty.yaml file, which specifies the proper paths for all of our content. This content is merely consumed by some layouts. When creating your own Hugo project, feel free to look at our zesty.yaml file and our layout files.

As you can see in our index.html file, we simply load in the front-matter from the content/_index.md file.

Start Here

We will listen to your needs and walk you through how Zesty can help your team.

Connect with Content Experts

Book a free 15-minute consultation with a content expert. Discuss your application, pain points and requirements. Understand how Zesty's lower total cost of ownership, features, functionality can elevate your business by creating extraordinary digital experiences.

Trusted By

zesty customer logo Sonyzesty customer logo Rocket Leaguezesty customer logo Singlifezesty customer logo Acornszesty customer logo Phoenix Sunszesty customer logo Wattpadzesty customer logo Corner Shopzesty customer logo Bjs

Start by Entering your Email

By submitting your email you agree to our terms and conditions


zesty customer logo zesty customer logo zesty customer logo