class

Hwaro::Models::OutputsConfig

Inherits Reference / Object

[outputs] — declares extra per-page/per-section output formats beyond HTML (sibling index.<fmt> files rendered from a user-supplied templates/<name>.<fmt>.jinja template). See docs/content/features/output-formats.md for the full selection chain and front matter override (page.extra["outputs"]).

Constants

VALID_FORMATS = ["json", "txt", "xml", "csv"] of ::String

Constructors

Instance methods

any?

Whether any format is configured at all (page or section).

Source
page

Formats every regular page emits (unless overridden by front matter).

Source
page=(page : Array(String))

Formats every regular page emits (unless overridden by front matter).

Source
section

Formats every section index emits (unless overridden by front matter).

Source
section=(section : Array(String))

Formats every section index emits (unless overridden by front matter).

Source
sections

Optional allowlist of section names formats apply to; empty = all sections. Matches a section name or any of its descendants, mirroring FeedConfig#sections.

Source
sections=(sections : Array(String))

Optional allowlist of section names formats apply to; empty = all sections. Matches a section name or any of its descendants, mirroring FeedConfig#sections.

Source