Bootstrapped during the 2026-06-06 BlockNinja consolidation. Was previously an unversioned directory inside ~/src/blockninja-themes/editorial. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
13 lines
428 B
Plaintext
13 lines
428 B
Plaintext
package main
|
|
|
|
// sectionLabelComponent renders the section label. The visual contract is
|
|
// uppercase + small-caps text followed (optionally) by a 1px hairline rule.
|
|
templ sectionLabelComponent(data SectionLabelData) {
|
|
<div class="editorial-column" data-block="editorial:section_label">
|
|
<div class="editorial-section-label">{ data.Label }</div>
|
|
if data.Divider {
|
|
<hr class="editorial-section-label-rule"/>
|
|
}
|
|
</div>
|
|
}
|