Skip to content

Commit 48532f9

Browse files
committed
Added support for multibadge pages (#358)
* [AI] Improved LTS Updates link * Added support for multibadge pages
1 parent ceef570 commit 48532f9

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

docs/ai_actions/ai_actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition: lts-update
77

88
AI Actions is a set of capabilities that enhance the efficiency and creativity of content editors.
99
The feature is not included in [[= product_name =]] by default.
10-
It's an [LTS Update]([[= developer_doc =]]/release_notes/ibexa_dxp_v4.6/#lts-updates) that requires separate [installation and system configuration]([[= developer_doc =]]/ai_actions/install_ai_actions/).
10+
It's an [LTS Update]([[= developer_doc =]]/ibexa_products/editions#lts-updates) that requires separate [installation and system configuration]([[= developer_doc =]]/ai_actions/install_ai_actions/).
1111

1212
Once AI Actions are installed and configured, content editors with `Action configuration/View` and `Action configuration/Execute` permissions have access to AI-driven tools.
1313
For example, they can [enhance or improve the text](create_edit_content_items.md#ai-assistant) that they have written, or [generate alternative text](upload_images.md#ai) for images.

theme/main.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,16 @@
5353
{% endfor %}
5454
<li class="breadcrumb-item breadcrumb-item-current">{{ page.title }}</li>
5555
</ul>
56-
{% if page.meta.edition %}
56+
{% if page.meta.edition or page.meta.editions %}
5757
<div class="pills">
58-
{% if page.meta.edition == 'commerce' %}
59-
<span class="pill pill--commerce"></span>
60-
{% elif page.meta.edition == 'experience' %}
61-
<span class="pill pill--experience"></span><span class="pill pill--commerce"></span>
62-
{% elif page.meta.edition == 'lts-update' %}
58+
{% if page.meta.edition == 'lts-update' or 'lts-update' in page.meta.editions %}
6359
<span class="pill pill--lts-update"></span>
6460
{% endif %}
61+
{% if page.meta.edition == 'experience' or 'experience' in page.meta.editions %}
62+
<span class="pill pill--experience"></span><span class="pill pill--commerce"></span>
63+
{% elif page.meta.edition == 'commerce' or 'commerce' in page.meta.editions %}
64+
<span class="pill pill--commerce"></span>
65+
{% endif %}
6566
</div>
6667
{% endif %}
6768
{{ page.content }}

0 commit comments

Comments
 (0)