${d.number ? html`
${d.number}
` : nothing}
${this.t('Angel number')}
${d.title ? html`
${d.title}
` : nothing}
${
// The badges below classify the sequence; this is what it is said to say.
d.coreMessage && !this.hideReadings
? html`${d.coreMessage}
`
: nothing
}
${d.type ? html`${d.type}` : nothing}
${typeof d.digitRoot === 'number' ? html`${this.t('Digit root')} ${d.digitRoot}` : nothing}
${d.energy ? html`${d.energy}` : nothing}
${
keywords.length > 0 && !this.hideReadings
? html`${keywords.map((k) => html`${k}`)}
`
: nothing
}
${this.renderSections(d)}
${d.affirmation && !this.hideReadings ? html`${d.affirmation}
` : nothing}
${
// Each step is a sentence of advice, so the list is prose under its own
// heading and goes whole.
steps.length > 0 && !this.hideReadings
? html`
${this.t('Action steps')}
${steps.map((s) => html`- ${s}
`)}
`
: nothing
}
`;
}
private renderSections(d: NonNullable