Skip to main content

organisms

Article header

The article title block, with the hanko mark beside an h1 and an optional abstract.

Specimens

Title only The article template passes a title and the brand logo, with no abstract. The logo is an inlined SVG built by a filter, which a bound path can't reproduce, so the mark is empty here.

How this portfolio is built

{{ ArticleHeader.render({ title: "How this portfolio is built" }) }}
With abstract

How this portfolio is built

A short abstract renders under the title as a section.

{{ ArticleHeader.render({
  title: "How this portfolio is built",
  abstract: "<p>A short abstract renders under the title as a section.</p>"
}) }}

Params

ParamTypeDescription
logoSvgstringInlined SVG markup for the hanko mark, output through the hanko atom.
titlestringh1 text. Defaults to “Untitled”.
abstractstringHTML, output with safe. The abstract <section> is omitted when empty.

Fixed design: takes no styling params.

Notes

The caller wraps this in its own <header>. The macro emits the mark, the h1, and the abstract only.