Hugo in Action: Static sites and dynamic Jamstack apps
- 7h 39m
- Atishay Jain
- Manning Publications
- 2022
Build and deploy a live website in just 30 minutes using Hugo. The Hugo engine lets you rapidly deliver static sites that are low maintenance, high performance, and feature rich.
In Hugo in Action you will learn:
- Building web pages with Hugo and Jamstack
- Creating content using Markdown
- Content management with Hugo
- Designing new Hugo themes
- Using the Go template language
- Managing dependencies with Hugo modules
- Accessing APIs with Jamstack
- Adding a shopping cart using JavaScript
- Content tagging with markup
Sometimes, simple is better. Static websites—sites with fixed content—are easier to create and maintain, and inherently more secure than dynamic pages. Hugo in Action is a hands-on guide to using the Hugo static site engine to render these websites in milliseconds. Working with a complete example website and source code samples, you’ll learn how to build and host a site that will wow users and stay stable without a third-party server. Full coverage of the Jamstack (Javascript, APIs, Markdown) shows how easy it is to add complex features to super-simple sites, including eCommerce shopping carts, dynamic forms, and multilingual options.
about the technology
Because they load pre-built pages, static websites are simple, secure, and incredibly fast. With the Hugo static site generator you can build and render a website in seconds without the grind of hand coding the pages. Hugo takes a directory of content and templates and renders it as a full HTML and CSS website—perfect for blogs, documentation, and other sites that don’t require real-time updates.
about the book
In Hugo in Action you’ll learn step-by-step how to build efficient, low-maintenance static web sites. You’ll use Hugo as a CMS and web development environment, create custom pages, and design your own Hugo themes. And you won’t stop there! Moving beyond the basics, you’ll incorporate the Jamstack model to add capabilities like eCommerce and your own APIs. The result: rich websites that are flexible and incredibly stable.
About the Author
Atishay Jain is a Senior Computer Scientist at Adobe. He has developed web-based software used by millions of Adobe Creative Cloud customers.
In this Book
-
Foreword
-
About This Book
-
The Jamstack and Hugo
-
Live in 30 Minutes—You Now Have a Website
-
Using Markup for Content
-
Content Management with Hugo
-
Custom Pages and Customized Content with the Go Template Language
-
Structuring Web Pages
-
Creating Your Own Theme
-
Hugo Modules—Plugins for Everybody
-
Accessing APIs to Enhance Functionality
-
The Power of JavaScript
-
Breaking Barriers with Custom APIs and Webhooks
-
Adding E-Commerce Capabilities Using the Jamstack
-
Wrapping it up