Add statement keyword variable

This commit is contained in:
Helen Chong 2024-05-22 13:29:26 +08:00
parent 236fa01f1f
commit c4df566704
3 changed files with 7 additions and 5 deletions

View File

@ -4,4 +4,4 @@ layout: main/content
{{ content | safe }} {{ content | safe }}
<p>(This {{ title }} statement was last updated on {{ updated | formatDate }})</p> <p>(This {{ keyword }} was last updated on {{ updated | formatDate }})</p>

View File

@ -1,6 +1,6 @@
--- ---
title: Accessibility title: Accessibility
desc: Leilukin's Hub's accessibility statement. keyword: accessibility statement
updated: 2024-05-22 updated: 2024-05-22
eleventyNavigation: eleventyNavigation:
order: 12 order: 12
@ -14,8 +14,9 @@ Currently, this site includes the following accessibility features:
* Semantic HTML * Semantic HTML
* Alt text for all non-decorative images * Alt text for all non-decorative images
* No autoplaying music or video * No autoplaying music or video
* No animated images
* Proper colour contrast for backgrounds, text, and links * Proper colour contrast for backgrounds, text, and links
* Font sizes, margins and paddings use relative units such as rem/em instead of absolute units such as px for scalability * Makes font sizes scalable by use relative units such as rem/em instead of absolute units such as px
* Site is functional up to 200% text zoom * Site is functional up to 200% text zoom
* Allows reader mode to be enabled for articles and blog posts * Allows reader mode to be enabled for articles and blog posts
* Visible outline when an interactive element is focused * Visible outline when an interactive element is focused

View File

@ -1,9 +1,10 @@
{ {
"tags": "statements",
"layout": "main/statement", "layout": "main/statement",
"tags": "statements",
"isStatement": true, "isStatement": true,
"permalink": "/{{ page.fileSlug }}/", "permalink": "/{{ page.fileSlug }}/",
"eleventyComputed": { "eleventyComputed": {
"desc": "Leilukin's Hub's {{ keyword }}.",
"eleventyNavigation":{ "eleventyNavigation":{
"key": "{{ title }}" "key": "{{ title }}"
} }