Skip to content

Commit 0d1da29

Browse files
committed
Fix more subject and tags value
1 parent 588a371 commit 0d1da29

File tree

14 files changed

+18
-10
lines changed

14 files changed

+18
-10
lines changed

src/main/en/accessibility-fundamentals/global-accessibility-standards.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Global Accessibility Standards
33
description: A set of guidelines to ensure digital content is accessible worldwide for people living with disabilities and frameworks for creating accessible digital products, services, and more.
44
toggle: normes-daccessibilite-mondiales
5-
tags:
5+
subject:
66
- accessibilityFundamentals
77
---
88

src/main/en/accessibility-fundamentals/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.accessibilityFundamentals | 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/accessibility-fundamentals/most-common-types-of-disability.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Most Common Types of Disability
33
description: Learn more about the most common types of disabilities in the workplace and their related accessibility considerations.
44
toggle: Types de handicap les plus courants
5-
tags:
5+
subject:
66
- accessibilityFundamentals
77
---
88

src/main/en/accessibility-in-the-government-of-canada/accessibility-standards.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Accessibility standards
33
description: Stay up to date on all the latest accessibility standards and regulations in the government.
44
toggle: normes-daccessibilite
5-
tags:
5+
subject:
66
- accessibilityInTheGovernmentOfCanada
77
---
88

src/main/en/accessibility-in-the-government-of-canada/community-directory.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Community Directory
33
description: Learn more about the organizations, projects, and people working on accessibility within the Government of Canada.
44
toggle: repertoire-de-la-communaute
55
internalLinks: true
6-
tags:
6+
subject:
77
- accessibilityInTheGovernmentOfCanada
88
---
99
{% if collections.communityDirectory === undefined %}

src/main/en/accessibility-in-the-government-of-canada/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.accessibilityInTheGovernmentOfCanada | 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/accessibility-in-the-government-of-canada/procurement.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Procurement
33
description: Learn about, and access resources to support the inclusion of Information and Communication Technology (<abbr>ICT</abbr>) accessibility requirements into Government of Canada procurements and non-competitive contracts.
44
toggle: approvisionnement
5-
tags:
5+
subject:
66
- accessibilityInTheGovernmentOfCanada
77
---
88

src/main/fr/accessibilite-au-gouvernement-du-canada/approvisionnement.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Approvisionnement
33
description: En savoir plus et accéder à des ressources pour soutenir l'inclusion des exigences d'accessibilité des technologies de l'information et de la communication (<abbr>TIC</abbr>) dans les marchés publics et les contrats non concurrentiels du gouvernement du Canada.
44
toggle: procurement
5-
tags:
5+
subject:
66
- accessibilityInTheGovernmentOfCanada
77
---
88

src/main/fr/accessibilite-au-gouvernement-du-canada/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.accessibilityInTheGovernmentOfCanada | 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/fr/accessibilite-au-gouvernement-du-canada/normes-daccessibilite.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Normes d'accessibilité
33
description: Restez au courant des dernières normes et réglementations en matière d'accessibilité au sein du gouvernement.
44
toggle: accessibility-standards
5-
tags:
5+
subject:
66
- accessibilityInTheGovernmentOfCanada
77
---
88

0 commit comments

Comments
 (0)