gc-da11yn / gc-da11yn.github.io

Digital Accessibility Toolkit - Boîte à outils d'accessibilité numérique
https://a11y.canada.ca/en/
MIT License
31 stars 32 forks source link

[CHANGE] Add dates in meta data #466

Closed shawnthompson closed 10 months ago

shawnthompson commented 10 months ago

What page is the change request for? Please supply the URI.

No response

Approval needed?

None

Yes, please send a request to the following person?

No response

Who shall do the work?

Timeline

No response

Additional context

Using Content Dates — Eleventy we need to add the following meta to the ./src/_includes/partials/head.njk file.

<meta name="dcterms.created" content="" >
<meta name="dcterms.issued" content="" >
<meta name="dcterms.modified" content="{{ page.date | postDate }}" >

Need to figure out how to add Created date in the content for both dcterms.created and dcterms.issued .

We are using date: git Last Modified for the date modified value on the actual page.