Skip to Content
Hugo in Action
book

Hugo in Action

by Atishay Jain
April 2022
Beginner to intermediate
488 pages
13h 45m
English
Manning Publications
Audiobook available

Overview

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.

What's Inside
  • Building web pages with Hugo and Jamstack
  • Using the Go template language
  • Managing dependencies with Hugo modules
  • Content tagging with markup


About the Reader
For web developers with a basic knowledge of JavaScript.

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.

Quotes
Straightforward and approachable…all readers will benefit from the breadth and context that this book provides.
- From the Foreword by Steve Francia, Creator of Hugo

Probably the best book about Hugo available. An invaluable resource for learning how to develop static sites with Hugo.
- Theofanis Despoudis, WP Engine

Very well written…introduces concepts and real-life workflows for building Jamstack-based websites with Hugo.
- Milorad Imbra, FEVO

If you want to learn Hugo beyond the basics, then this is the book for you!
- Jeff Smith, TJX

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Build Websites with Hugo

Build Websites with Hugo

Brian P. Hogan
Istio in Action

Istio in Action

Christian E. Posta, Rinor Maloku
Real-World Next.js

Real-World Next.js

Michele Riva

Publisher Resources

ISBN: 9781617297007Publisher SupportPublisher WebsiteErrata Page