Skip to main content
this section: | item-socials | mermaid |

Kitchen Sink

~3 m

Every visual tool rendered live. Click the tool name to see its full parameter reference, or add help = "yes" to any hw shortcode in your own page.



cover · parameters →

logo

Welcome to PiHuW

A minimal Hugo theme for embedded web servers and beyond.

block · parameters →

logo
A block with an image on the left -
A block with an image on the left
The block tool places media and text side by side. Use srcOn to move the image right or remove it entirely.

feature-group · parameters →

Minimal footprint

logo
No CDNs, no build tools, no Node. Just Hugo and a CSS file.

Author friendly

logo
Write markdown. Use shortcodes. Never touch a template.

Extensible

logo
Drop a partial in your layouts/ folder and the hw shortcode finds it automatically.

accordion · parameters →

Collapsible panels for organising long content. Each panel is an acc-tab.
When you have multiple related sections that don’t all need to be visible at once — FAQs, step-by-step guides, or feature breakdowns.
Accordion and acc-tab shortcodes can be nested inside other layout tools such as block or feature.

image · parameters →

PiHuW logo
Figure 1 - The PiHuW theme logo rendered via the image tool.

media · parameters →

PiHuW logo

{{ < hw t = “gallery” from = “/rc” />}}

Kitchen sink Gallery demo - TBD


heroslider · parameters →

Slides from data/heroslider-demo.yaml, in normal flow. In a hero, pass the same markup to tool/cover as afterHTML and add the class has-heroslider.

laptop
Image left - The default arrangement. srcOn is left, srcWidth 0.3.
NAS
Image right - This slide sets its own srcOn: right.
Text only - A slide with no src uses the whole panel for its caption.
GitHub

slideshow · parameters →

slide 1 of 1

slideshow-static · parameters →

slide 1 of 0

video · parameters →

Sample video - Replace src with a .mp4 path to render a video player.

item · parameters →

logo.png
An item card
2 min read
Items show media on one side and heading, tags, meta, and description on the other. They are the building block of item-group listings.

item-group-blog · parameters →


children · parameters →


blog · parameters →


caption · parameters →

PiHuW logo

Figure 1 - The PiHuW logo — rendered using the image tool with a caption tool below it.


label · parameters →

hugo raspberry-pi embedded


md-param · parameters →

The value of the demoText frontmatter param rendered inline:

bold and italic text from a frontmatter param

include · parameters →

This is a markdown file in the headless folder. It does not have a summary field in the frontmatter. The PiHuW include partial will truncate the text according to the settings in the hugo config.

Markdown files may include shortcodes.


smschat · parameters →

9:41 ●●●●●

iMessage

graph · parameters →

graph: no data source — set from or provide inline data: in front matter


table family · table → · thead → · tbody → · tfoot → · tr → · th → · td → · trtd → · trth →

Name

Type

Description

tablewrapperOuter container for the entire table
theadwrapperHeader row group — wraps trth rows
tbodywrapperBody row group — wraps trtd rows
tfootwrapperFooter row group
trrowA single row — nest th or td cells inside
thcellHeader cell
tdcellData cell
trtdshortcutRow of data cells from a single call
trthshortcutRow of header cells from a single call
colspan applies via class parameter