Hugo layout showcase

Dummy detail page for navigation, TOC, Goldmark, and shortcodes.

Role
Reference

Overview

This page uses the showcase layout: a toolbar under the global header, a sticky table of contents from Hugo’s .TableOfContents, body markdown in the center, and a right-hand tidbits column fed from front matter.

What you are looking at

  • Front matter drives the document title, summary line, and aside tidbits (see aside_tidbits in this file).
  • Headings from ## upward populate Page contents in the left aside (see [markup.tableOfContents] in this file and site config).

Markdown building blocks

Lists and tasks

  • Unordered item one
  • Unordered item two
  1. Ordered first
  2. Ordered second
  • Task done
  • Task todo

Blockquote

A short pull quote or citation. Hugo leaves semantics to the theme’s .prose styles.

Code

Inline code and a fenced block:

hugo server --disableFastRender
const toc = document.querySelector("#TableOfContents");
console.log(toc ? "TOC present" : "No TOC");

Table

Column AColumn B
Alpha1
Beta2

Back to home section (relative link from this URL) and this site.

Horizontal rule


Hugo shortcodes

Other work (query)

This list is generated by a shortcode that calls where on site.RegularPages (excludes this showcase page):

Mocks

Anchor target for Skip to mocks in the toolbar. Place wireframe images, embedded HTML demos, or static mocks here.

Wide placeholder

Mock notes

Use this section for design notes, links to Figma, or embedded iframes when you are ready (mind CSP on your host if you add iframes).

Appendix

Strong, emphasis, strikethrough, and footnotes if enabled in hugo.toml under [markup.goldmark].