From 7d93420e6126a3e87d8ac8ad52d7a71ba701da96 Mon Sep 17 00:00:00 2001 From: SBsudo Date: Wed, 23 Oct 2024 11:17:13 -0400 Subject: [PATCH] Updated references to new version --- sites/footers/deprecated/footers-v7-en.html | 115 ++++++++++++++++++++ sites/footers/deprecated/footers-v7-fr.html | 114 +++++++++++++++++++ sites/footers/footers-en.md | 5 +- sites/footers/footers-fr.md | 3 +- sites/footers/includes/footer.html | 4 +- sites/footers/old-footers-en.html | 6 +- sites/footers/old-footers-fr.html | 6 +- 7 files changed, 242 insertions(+), 11 deletions(-) create mode 100644 sites/footers/deprecated/footers-v7-en.html create mode 100644 sites/footers/deprecated/footers-v7-fr.html diff --git a/sites/footers/deprecated/footers-v7-en.html b/sites/footers/deprecated/footers-v7-en.html new file mode 100644 index 000000000..08a5c4f08 --- /dev/null +++ b/sites/footers/deprecated/footers-v7-en.html @@ -0,0 +1,115 @@ +--- +{ +"layout": null, +"title": "Content page including complete footer version 7.0", +"language": "en", +"breadcrumbs": [ + { "title": "Footer", "link": "sites/footers/footers-en.html" } +], +"altLangPage": "footers-v7-fr.html", +"secondlevel": false, +"dateModified": "2024-11-12", +"share": "true" +} +--- + +{%- include variable-core.liquid -%} +{%- capture page-title -%} +{%- if page.title -%} +{{ page.title }} +{%- else -%} +Page untitled +{%- endif -%} +{%- endcapture -%} + + + + + + {% include license.html %} + {{ page-title }} - {{ i18nText-siteTitle }} + + {% include metadata.html %} + {% include resources-inc/head.html %} + + + + {%- if page.archived -%} + {% include headers-includes/archive.html %} + {%- endif -%} + {% include skiplinks/skiplinks.html %} + {% include header/header.html %} +
+

{{ page-title }}

+

This is version 5.0 of the page footer.

+ {% include page-details/footer.html %} +
+ + {% include resources-inc/footer.html %} + + diff --git a/sites/footers/deprecated/footers-v7-fr.html b/sites/footers/deprecated/footers-v7-fr.html new file mode 100644 index 000000000..13a76285d --- /dev/null +++ b/sites/footers/deprecated/footers-v7-fr.html @@ -0,0 +1,114 @@ +--- +{ +"layout": null, +"title": "Page de contenu incluant le pied de page complet version 7.0", +"language": "fr", +"breadcrumbs": [ + { "title": "Footer", "link": "sites/footers/footers-fr.html" } +], +"altLangPage": "footers-v7-en.html", +"secondlevel": false, +"dateModified": "2024-11-12", +"share": "true" +} +--- + +{%- include variable-core.liquid -%} +{%- capture page-title -%} +{%- if page.title -%} +{{ page.title }} +{%- else -%} +Page untitled +{%- endif -%} +{%- endcapture -%} + + + + + + {% include license.html %} + {{ page-title }} - {{ i18nText-siteTitle }} + + {% include metadata.html %} + {% include resources-inc/head.html %} + + + + {%- if page.archived -%} + {% include headers-includes/archive.html %} + {%- endif -%} + {% include skiplinks/skiplinks.html %} + {% include header/header.html %} +
+

{{ page-title }}

+

Voici la version 5.0 du pied de page complet par défaut.

+ {% include page-details/footer.html %} +
+ + {% include resources-inc/footer.html %} + + diff --git a/sites/footers/footers-en.md b/sites/footers/footers-en.md index e920ef873..2549a6dfb 100644 --- a/sites/footers/footers-en.md +++ b/sites/footers/footers-en.md @@ -9,7 +9,7 @@ contextualFooter: text: Contextual link 2 - url: http://canada.ca/en text: Contextual link 3 -dateModified: 2023-12-04 +dateModified: 2024-11-06 includes: footer: edge language: en @@ -29,9 +29,10 @@ Consult the Canada.ca Design System for guidance on which footer elements or cus ## Latest changes -### Version 7.0 +### Version 8.0 The following changes have been made since **version 4.0**: +* Version 8.0 : Changed "Money and finance" to "Money and finances" * Version 7.0 : Added "www." to the "Canada and the world" URL. * Version 6.0 : Changed the "Veterans and military" URL. * Version 5.0 : Changed “All Contacts” to “All contacts”. diff --git a/sites/footers/footers-fr.md b/sites/footers/footers-fr.md index 3f1ec88b4..12268c9e0 100644 --- a/sites/footers/footers-fr.md +++ b/sites/footers/footers-fr.md @@ -29,9 +29,10 @@ Consultez le système de conception de Canada.ca pour savoir quels éléments de ## Changements récents -### Version 7.0 +### Version 8.0 Les modifications suivantes ont été apportées depuis la **version 4.0** : +* Version 8.0: Changement de "Argent et finance" à "Argent et finances". * Version 7.0: Ajouté "www." à l'URL du lien "Canada and the world". * Version 6.0: Changé l'URL du lien "Vétérans et militaires". * Version 5.0: Changement de "All Contacts" à "All contacts" dans la version anglaise. diff --git a/sites/footers/includes/footer.html b/sites/footers/includes/footer.html index 221a48942..33500f3de 100644 --- a/sites/footers/includes/footer.html +++ b/sites/footers/includes/footer.html @@ -104,7 +104,7 @@

{{ i18nText-themeLinks }}

  • Services de police, justice et urgences
  • Transport et infrastructure
  • Le Canada et le monde
  • -
  • Argent et finance
  • +
  • Argent et finances
  • Science et innovation
  • Autochtones
  • Vétérans et militaires
  • @@ -123,7 +123,7 @@

    {{ i18nText-themeLinks }}

  • Policing, justice and emergencies
  • Transport and infrastructure
  • Canada and the world
  • -
  • Money and finance
  • +
  • Money and finances
  • Science and innovation
  • Indigenous peoples
  • Veterans and military
  • diff --git a/sites/footers/old-footers-en.html b/sites/footers/old-footers-en.html index a569c5843..63d20cef0 100644 --- a/sites/footers/old-footers-en.html +++ b/sites/footers/old-footers-en.html @@ -7,17 +7,17 @@ ], "altLangPage": "old-footers-fr.html", "secondlevel": false, -"dateModified": "2023-12-04", +"dateModified": "2024-11-12", "share": "true" } ---
    -

    Version 6.0

    +

    Version 7.0

    -

    Working example: Footer version 6.0

    +

    Working example: Footer version 7.0

    Expected output code
    <footer id="wb-info">
    diff --git a/sites/footers/old-footers-fr.html b/sites/footers/old-footers-fr.html
    index 24a150a12..221b04d21 100644
    --- a/sites/footers/old-footers-fr.html
    +++ b/sites/footers/old-footers-fr.html
    @@ -7,17 +7,17 @@
     	],
     	"altLangPage": "old-footers-en.html",
     	"secondlevel": false,
    -	"dateModified": "2023-12-04",
    +	"dateModified": "2024-11-12",
     	"share": "true"
     }
     ---
     
    -

    Version 6.0

    +

    Version 7.0

    • Changé l'URL du lien "Vétérans et militaires".
    -

    Exemple pratique: Pied de page version 6.0

    +

    Exemple pratique: Pied de page version 7.0

    Code final attendu
    <footer id="wb-info">