Hugo
Building faster, simpler websites with Hugo. Templates, shortcodes, content management, deployment, and lessons from real projects.
Browse 34 articles in this topic. View all topics.
- How I Organize My Hugo Site
A predictable Hugo structure for content, page resources, layouts, assets, static files, and configuration.
- When to Use Hugo Shortcodes or Render Hooks
Use render hooks to change normal Markdown output and shortcodes for custom content with meaning Markdown cannot express.
- Customizing Hugo’s RSS Feed
Adjust Hugo RSS titles, descriptions, content, and section filtering while keeping the generated feed valid and easy to discover.
- Organizing Hugo Content With Tags and Categories
Organize Hugo content with a small, deliberate set of tags, categories, or custom taxonomies that lead to useful archive pages.
- A More Useful 404 Page in Hugo
Turn Hugo's 404 page into a useful route back to the homepage, search, or content visitors may have wanted.
- Build Breadcrumb Navigation From Hugo's Page Hierarchy
Generate accessible breadcrumb navigation from Hugo page ancestors instead of maintaining trails by hand.
- Add an Automatic Table of Contents in Hugo
Use Hugo's built-in table of contents for long Markdown articles, with sensible heading levels and a compact mobile layout.
- Cache Repeated Hugo Template Work With partialCached
Use Hugo partialCached for expensive repeated template work without accidentally reusing page-specific output.
- Why Every Website Should Have an RSS Feed
RSS remains a simple way to follow websites without algorithms, accounts, notifications, or dependence on a social platform.
- Why I Still Build Static Websites in 2026
Why I still choose Hugo and static sites for blogs, documentation, portfolios, and other content-first websites in 2026.
- Hugo Render Hooks for Links, Images, and Headings
Use Hugo render hooks for links, images, and headings. Keep Markdown titles and fragments, classify external links, and reuse one image-processing partial.
- Responsive Images With Hugo’s Image Processing
Build responsive images in Hugo with one reusable partial. Generate srcset, preserve dimensions, handle fallbacks, and choose image loading carefully.
- Kā iestatīt laika joslu Hugo un Cloudflare Pages projektā
Uzziniet, kā iestatīt laika joslu Hugo un Cloudflare Pages projektā, lai datumi un laiki jūsu vietnē tiktu rādīti pareizi pēc Latvijas laika.
- Compile SCSS With Hugo Pipes and Fingerprint the CSS
Compile SCSS with Hugo Pipes and Dart Sass, use source maps in development, fingerprint production assets, and diagnose missing files and dependencies.
- Hugo lastmod: Publication and Update Dates
Set Hugo lastmod deliberately, keep publication dates, compare Git and manual sources, and keep visible updates, structured data, and sitemaps consistent.
- Change a Hugo Post URL Without Breaking the Old Link
Use Hugo aliases to keep an old post URL working after correcting its permalink, then add a server redirect where possible.
- Add Line Numbers to a Hugo Code Block
Add line numbers to individual Hugo code blocks with the linenos option, without enabling them across the whole site.
- Use a Bluesky Post as the Comment Thread for a Hugo Page
Fetch replies, reposts, and likes from Bluesky's public API and display them below a Hugo article.
- Jekyll vs Hugo: Two Good Static Site Generators
Compare Jekyll and Hugo by build speed, templates, plugins, built-in features, and GitHub Pages support.
- Eleventy vs Hugo: Which One Fits Your Workflow?
Eleventy and Hugo both build good static sites, but their languages, templates, and built-in features suit different workflows.