organisms
Article header
The article title block, with the hanko mark beside an h1 and an optional abstract.
Specimens
How this portfolio is built
{{ ArticleHeader.render({ title: "How this portfolio is built" }) }}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
| Param | Type | Description |
|---|---|---|
logoSvg | string | Inlined SVG markup for the hanko mark, output through the hanko atom. |
title | string | h1 text. Defaults to “Untitled”. |
abstract | string | HTML, 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.