Hwaro::Content::Processors::RenderHooks
Constants
The six render hooks implemented today.
Class methods
(Re)builds the hook registry from the loaded template set. Called
from load_templates (Initialize phase) right after
@template_deps = TemplateDeps.new(templates), so it re-runs on
every serve template reload exactly like the dependency graph
does.
A HookRenderContext for feed/search fallback rendering, or nil
when no registry is configured. Builds a minimal page/config
variable set from page + config directly (no access to the
render phase's per-worker env/global vars).
Shared page/config variable builder — exactly 6 leaf values, used by both the render-phase context (render.cr#build_hook_render_context) and this fallback context.
The active hook registry, or nil when no templates/hooks/render-*
template exists — the zero-cost gate every hook-aware call site
checks before doing any extra work.