diff --git a/_config.yml b/_config.yml index ad3b6090b..f3b4de53b 100644 --- a/_config.yml +++ b/_config.yml @@ -40,7 +40,12 @@ global: fr: - link: "index-fr.html" title: "GCWeb" - + applicationName: + en: "My application" + fr: "Mon application" + applicationURL: + en: "#" + fr: "#" # # Override include to use # includes: diff --git a/_data/templates.json b/_data/templates.json index ac46a5c86..22e65e826 100644 --- a/_data/templates.json +++ b/_data/templates.json @@ -83,6 +83,62 @@ ] } } +,{ + "@context": { + "@version": 1.1, + "dct": "http://purl.org/dc/terms/", + "title": { "@id": "dct:title", "@container": "@language" }, + "description": { "@id": "dct:description", "@container": "@language" }, + "modified": "dct:modified" + }, + "title": { + "en": "Application", + "fr": "Application" + }, + "description": { + "en": "Application templates samples.", + "fr": "Exemples de pages d'application." + }, + "modified": "2023-10-13", + "componentName": "application", + "status": "stable", + "pages": { + "docs": [ + { + "title": "Application template documentation", + "language": "en", + "path": "application-docs-en.html" + }, + { + "title": "Documentation du gabarit de page d'application", + "language": "fr", + "path": "application-docs-fr.html" + } + ], + "examples": [ + { + "title": "Default application page", + "language": "en", + "path": "default-application-en.html" + }, + { + "title": "Page d'application par défaut", + "language": "fr", + "path": "default-application-fr.html" + }, + { + "title": "Application page with informational banner", + "language": "en", + "path": "application-with-banner-en.html" + }, + { + "title": "Page d'application avec bannière informative", + "language": "fr", + "path": "application-with-banner-fr.html" + } + ] + } +} ,{ "@context": { "@version": 1.1, diff --git a/sites/breadcrumbs/includes/breadcrumbs.html b/sites/breadcrumbs/includes/breadcrumbs.html index 449ba230a..5746f3cf0 100644 --- a/sites/breadcrumbs/includes/breadcrumbs.html +++ b/sites/breadcrumbs/includes/breadcrumbs.html @@ -1,5 +1,4 @@ -{%- unless page.pageclass contains "home" or page.breadcrumbs == false -%} - +{%- unless page.pageclass contains "home" or page.breadcrumbs == false or layout.breadcrumbs == false -%}