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 }}
<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
desc: Leilukin's Hub's accessibility statement.
keyword: accessibility statement
updated: 2024-05-22
eleventyNavigation:
order: 12
@ -14,8 +14,9 @@ Currently, this site includes the following accessibility features:
* Semantic HTML
* Alt text for all non-decorative images
* No autoplaying music or video
* No animated images
* 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
* Allows reader mode to be enabled for articles and blog posts
* Visible outline when an interactive element is focused

View File

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