Jekyll Static Site
This example builds a version of the ZestyBurger Site by feeding Zesty.io content into a statically-generated Jekyll Site.Github: https://github.com/zesty-io/zesty-jekyll/
Getting Started
#First, we'll need to install Jekyll.
Installing Jekyll
See the Jekyll Website For More Help
Next, let's clone the example project
Now, we simply need to install and run the project!
Note how
npm install
runspullzesty
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 jekyll servernpm run-script build-jekyll
# rebuilds data from zesty.io and runs jekyll to build a folder indocs/
npm run-script all
# rebuilds data from zesty.io, runs jekyll to build a folder indocs/
, and runs a jekyll server
Understanding the Example Project
#Jekyll 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 Jekyll project, feel free to look at our zesty.yaml
file and our layout files.
As you can see in our home.html
file, we simply load in the front-matter from the index.md
file.
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
G2 MOMENTUM LEADER