-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Date modified: Adding date modified site functionality documentation
- Loading branch information
Showing
9 changed files
with
214 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,4 +92,4 @@ | |
] | ||
} | ||
} | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
{ | ||
"altLangPage": "date-modified-fr.html", | ||
"breadcrumbs": [ | ||
{ "title": "GCWeb home", "link": "https://wet-boew.github.io/GCWeb/index-en.html" } | ||
], | ||
"dateModified": "2023-11-02", | ||
"description": "Documentation on how to use the date modified.", | ||
"language": "en", | ||
"title": "Date modified" | ||
} | ||
--- | ||
<div class="wb-prettify all-pre hide"></div> | ||
|
||
<dl class="horizontal"> | ||
<dt>Status</dt> | ||
<dd>Stable</dd> | ||
<dt>Version</dt> | ||
<dd>1.0.0</dd> | ||
<dt>Type</dt> | ||
<dd>Canada.ca site functionality</dd> | ||
</dl> | ||
|
||
<h2>Introduction</h2> | ||
|
||
<h3>Purpose</h3> | ||
<p>Use the date modified component to provide a person with the date that the content was last updated.</p> | ||
|
||
<h3>Evaluation and report</h3> | ||
<p>There is no evaluation and report available for this component.</p> | ||
|
||
<h3>Guidance</h3> | ||
<ul> | ||
<li><a href="https://design.canada.ca/common-design-patterns/date-modified.html">Date modified</a></li> | ||
</ul> | ||
|
||
<h3>Variants</h3> | ||
<p>This component supports only 1 variant:</p> | ||
<ul> | ||
<li><a href="#variantDefault">Date modified (default)</a></li> | ||
</ul> | ||
|
||
<h2 id="variantDefault">Date modified (default)</h2> | ||
|
||
<h3>Iteration 1</h3> | ||
<p>Code:</p> | ||
<pre><code><dl id="wb-dtmd"> | ||
<dt>Date modified:</dt> | ||
<dd><time property="dateModified">YYYY-MM-DD</time></dd> | ||
</dl></code></pre> | ||
|
||
<h4>Working example(s)</h4> | ||
<p>Refer to the date modified at the bottom of this page.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
{ | ||
"altLangPage": "date-modified-en.html", | ||
"breadcrumbs": [ | ||
{ "title": "GCWeb accueil", "link": "https://wet-boew.github.io/GCWeb/index-fr.html" }, | ||
{ "title": "Méli-mélo", "link": "https://wet-boew.github.io/GCWeb/méli-mélo/méli-mélo-fr.html" } | ||
|
||
], | ||
"dateModified": "2023-11-02", | ||
"description": "Documentation sur l'utilisation de la date de modification.", | ||
"language": "fr", | ||
"title": "Date de modification" | ||
} | ||
--- | ||
<div class="wb-prettify all-pre hide"></div> | ||
|
||
<dl class="horizontal"> | ||
<dt>Statut</dt> | ||
<dd>Stable</dd> | ||
<dt>Version</dt> | ||
<dd>1.0.0</dd> | ||
<dt>Type</dt> | ||
<dd>Fonctionnalité globale de site de Canada.ca</dd> | ||
</dl> | ||
|
||
<h2>Introduction</h2> | ||
|
||
<h3>Objectif</h3> | ||
<p>Utilisez la composante « Date de modification » pour fournir à aux gens la date où le contenu a été mis à jour en dernier.</p> | ||
|
||
<h3>Évaluation et rapport</h3> | ||
<p>Il n'y a pas d'évaluation ni de rapport disponible pour cette composante.</p> | ||
|
||
<h3>Orientation</h3> | ||
<ul> | ||
<li><a href="https://conception.canada.ca/configurations-conception-communes/date-modification.html">Date de modification</a></li> | ||
</ul> | ||
|
||
<h3>Variantes</h3> | ||
<p>Ce composant prend en charge 1 variante:</p> | ||
<ul> | ||
<li><a href="#variantDefault">Date de modification (par défaut)</a></li> | ||
</ul> | ||
|
||
<h2 id="variantDefault">Date de modification (par défaut)</h2> | ||
|
||
<h3>Itération 1</h3> | ||
<p>Code:</p> | ||
<pre><code><dl id="wb-dtmd"> | ||
<dt>Date de modification :</dt> | ||
<dd><time property="dateModified">AAAA-MM-JJ</time></dd> | ||
</dl></code></pre> | ||
|
||
<h4>Exemple(s) pratique(s)</h4> | ||
<p>Veuillez vous référer à la date de modification au bas de cette page.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<dl id="wb-dtmd"> | ||
<dt>{{ i18nText-dateModified }}</dt> | ||
<dd><time property="dateModified">{{ page.dateModified }}</time></dd> | ||
</dl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"@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": "Date modified", | ||
"fr": "Date de modification" | ||
}, | ||
"description": { | ||
"en": "Indicates the date on which the current page was last modified.", | ||
"fr": "Indique la date à laquelle la page courante a été modifiée pour la dernière fois." | ||
}, | ||
"modified": "2023-11-02", | ||
"componentName": "date-modified", | ||
"status": "stable", | ||
"pages": { | ||
"docs": [ | ||
{ | ||
"title": "Date modified", | ||
"language": "en", | ||
"path": "date-modified-en.html" | ||
}, | ||
{ | ||
"title": "Date de modification", | ||
"language": "fr", | ||
"path": "date-modified-fr.html" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters