Enabled modern blog pages unlock Toha’s semantic component shortcodes alongside classic theme shortcodes, sharing exact visual tokens across light and dark modes.
Callouts & legacy alert compatibility
Modern callouts communicate status clearly without heavy visual noise. Use {{< callout >}} with info, success, warning, or danger tones, or pair them with inline badge chips: Modern UI
Zero Bootstrap
.
Existing legacy posts using {{< alert >}} continue to work automatically on modern pages:
Disclosures & inline semantics
Interactive elements stay accessible without custom JavaScript. Press Cmd+K (or /) to search posts anytime, highlight key behavior with zero-runtime disclosures, or annotate domain terms like SSG.
Show minimal page front matter for modern blog posts
title: "My Engineering Note"
date: 2026-10-24
categories: ["Authoring"]
tags: ["Components", "Shortcodes"]
series: ["Authoring Rich Content"]
series_weight: 20
Responsive bundle images & wrapping
Images co-located in the post folder resize cleanly and support centered or floated layouts alongside vertical spacing (vs).


Bundling images directly next to index.md eliminates broken root paths across subpath deployments and multilingual routes. When paired with float="right", prose wraps beside the image on desktop viewports and stacks naturally on narrow screens without clipping or horizontal overflow.
Side-by-side column comparisons (split)
Two-column comparison
Static Pre-rendering
Hugo generates semantic HTML, responsive image variants, and search JSON at build time with predictable performance.
Progressive Enhancement
Alpine and native <dialog> elements enhance keyboard search, disclosures, and code-block copy actions cleanly.
Three-column summary
Accessible
Semantic landmarks, focus-visible rings, and screen-reader statuses.
Themeable
Balanced surface tokens adapt smoothly between light and dark themes.
Portable
Write standard Markdown once and switch layouts from hugo.yaml.
