diff --git a/docs/_includes/layouts/pages/tokens.11ty.ts b/docs/_includes/layouts/pages/tokens.11ty.ts index 0e397ca491..ab5291210d 100644 --- a/docs/_includes/layouts/pages/tokens.11ty.ts +++ b/docs/_includes/layouts/pages/tokens.11ty.ts @@ -365,9 +365,10 @@ export default class TokensPage extends Renderer { `; + const description = options.tokens._?.$description ?? options.tokens.$description ?? ''; return html` ${permalink} -
${await this.renderTemplate(options.tokens.$description ?? '', 'md')}
+
${await this.renderTemplate(description, 'md')}
${this.#renderThemeTokensCard(options)} ${await this.#renderTable(options)} ${await this.#renderChildren(options)}