From b29aa471fdd5a8c1bcb0c1218d8ce35da5ab770a Mon Sep 17 00:00:00 2001 From: Owen Jones Date: Mon, 18 Nov 2024 10:18:38 +0000 Subject: [PATCH] Update sub-table link text in nunjucks macros Co-Authored-By: Calvin Lau <77630796+calvin-lau-sig7@users.noreply.github.com> --- views/partials/_example.njk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/views/partials/_example.njk b/views/partials/_example.njk index 999e7ebe10..d2dcfe21be 100644 --- a/views/partials/_example.njk +++ b/views/partials/_example.njk @@ -117,14 +117,14 @@ {% if (option.params) or (option.isComponent and ["hint", "label"].includes(option.id)) %} {% if option.isComponent and not ["hint", "label"].includes(option.id) %} {# Link to subset of Nunjucks macro options table and Design System component page -#} - See supported {{ option.name | safe }} options for {{ optionName | safe }}. + See supported {{ option.name | safe }} macro options for {{ optionName | safe }} component macro. {% else %} {# Link to Nunjucks macro options table only -#} - See {{ option.name | safe }}. + See macro options for {{ option.name | safe }}. {% endif %} {% elif option.isComponent %} {# Link to Design System component page for nested components -#} - See {{ optionName | safe }}. + See macro options for {{ optionName | safe }}. {% endif %}