Skip to content

Commit 38d50b7

Browse files
committed
change tags to subject for how to pages
1 parent 4e275d3 commit 38d50b7

18 files changed

+22
-16
lines changed

src/main/en/how-tos/accessible-virtual-events.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Accessible virtual events
33
description: Learn how to host accessible virtual meetings such as a training session, a meeting, or an open-door event.
44
toggle: evenements-virtuels-accessibles
5-
tags:
5+
subject:
66
- howTos
77
---
88

src/main/en/how-tos/create-document.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create document
33
description: Find the core steps needed to create accessible documents and specific instructions for common document types.
44
toggle: creer-un-document
5-
tags:
5+
subject:
66
- howTos
77
---
88

src/main/en/how-tos/create-forms.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create forms
33
description: Learn about the essential steps for creating accessible forms.
44
toggle: creer-un-formulaire
5-
tags:
5+
subject:
66
- howTos
77
---
88

src/main/en/how-tos/create-web-content.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create web content
33
description: Discover resources and job aids that help you create accessible web content.
44
toggle: creer-du-contenu-web
5-
tags:
5+
subject:
66
- howTos
77
---
88

src/main/en/how-tos/design-a-course.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Design a course
33
description: Learn about the roles and processes involved in designing and developing an accessible course.
44
toggle: concevoir-un-cours
5-
tags:
5+
subject:
66
- howTos
77
---
88
{% if collections.designCourse === undefined %}

src/main/en/how-tos/designing-accessible-services.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Designing accessible services
33
description: With these tips, learn what you need to know to design for different disability categories.
44
toggle: principes-de-conception-pour-des-services-accessibles
5-
tags:
5+
subject:
66
- howTos
77
---
88

src/main/en/how-tos/index.njk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ tags:
1414

1515
<div class="row wb-eqht mrgn-tp-lg gc-drmt">
1616
{% for item in collections.howTos | sort(false, false, 'data.title') | localeMatch(locale) %}
17+
{% if not item.data.tags or item.data.tags.length === 0 %}
1718
<div class="col-md-6">
1819
<h2><a{% if item.data.redirect %} rel="external"{% endif %} href="{% if item.data.redirect %}{{ item.data.redirect }}{% else %}{{ pathPrefix }}{{ item.url }} {% endif %}"{% if item.data.oneLanguage %} hreflang="{{ landingPage[locale].otherLang }}"{% endif %}>{% if item.data.internal === true %}<span class="fas fa-external-link-square-alt mrgn-lft-sm mrgn-rght-sm" aria-hidden="true"></span><span class="wb-inv"> {{ alerts[locale].hiddenTextLink }}</span>{% endif %}{{ item.data.title | safe }}{% if item.data.oneLanguage %}<small> {{ landingPage[locale].otherLangOnly }}</small>{% endif %}</a></h2>
1920
<p>
@@ -24,6 +25,7 @@ tags:
2425
{% endif %}
2526
</p>
2627
</div>
28+
{% endif %}
2729
{% endfor %}
2830
</div>
2931

src/main/en/how-tos/test-your-products.njk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
title: Test your products
33
description: Learn how to identify accessibility issues early and throughout the development process, when they are easier to address.
44
toggle: testez-vos-produits
5-
tags:
5+
subject:
66
- howTos
7+
tags:
78
- updatesMain
89
---
910

src/main/en/resources-and-tools/additional-resources.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Additional Resources
33
layout: layouts/base.njk
44
description: Resources and useful tools for web accessibility for employees of the Government of Canada.
55
toggle: Ressources additionnelles
6-
tags:
6+
subject:
77
- resourcesAndTools
88
internalLinks: true
99
tocSimple: true

src/main/fr/comment-faire/concevoir-un-cours.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Concevoir un cours
33
description: Découvrez les rôles et les processus impliqués dans la conception et le développement d'un cours accessible.
44
toggle: design-a-course
5-
tags:
5+
subject:
66
- howTos
77
---
88

0 commit comments

Comments
 (0)