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>
11 lines
339 B
Plaintext
11 lines
339 B
Plaintext
package main
|
|
|
|
// editorialTextComponent renders rich-text body copy with the editorial prose
|
|
// rules applied. The author-supplied HTML is trusted (the CMS sanitiser runs
|
|
// upstream).
|
|
templ editorialTextComponent(text, class string) {
|
|
<div class={ "editorial-text editorial-column prose-editorial", class }>
|
|
@templ.Raw(text)
|
|
</div>
|
|
}
|