From 25fc29fb89bcf5859e2f71f1a4c4195a664db434 Mon Sep 17 00:00:00 2001 From: Alessio Venturini <112873190+alessioventuriniAND@users.noreply.github.com> Date: Mon, 13 May 2024 15:35:28 +0100 Subject: [PATCH] removed layout example and none and fixed path in base page template example (#3183) Co-authored-by: Precious Onyenaucheya <86783201+precious-onyenaucheya-ons@users.noreply.github.com> --- ...e_example-change-language-english_0_document_0_desktop.png | 4 ++-- ...ge_example-change-language-english_0_document_1_tablet.png | 4 ++-- ...ge_example-change-language-english_0_document_2_mobile.png | 4 ++-- .../page-template/example-base-page-template-block-areas.njk | 3 --- .../change-language/example-change-language-cymraeg.njk | 2 +- .../change-language/example-change-language-english.njk | 4 ++-- 6 files changed, 9 insertions(+), 12 deletions(-) diff --git a/backstop_data/bitmaps_reference/ds-vr-test__patterns_change-language_example-change-language-english_0_document_0_desktop.png b/backstop_data/bitmaps_reference/ds-vr-test__patterns_change-language_example-change-language-english_0_document_0_desktop.png index a61419a73a..9025d8e260 100644 --- a/backstop_data/bitmaps_reference/ds-vr-test__patterns_change-language_example-change-language-english_0_document_0_desktop.png +++ b/backstop_data/bitmaps_reference/ds-vr-test__patterns_change-language_example-change-language-english_0_document_0_desktop.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9848f04e3948f42627b5d4118e2c2d11fb640f1f08f472fc07a8ced7d6e0f30b -size 10774 +oid sha256:5b4b2c02e6f8a825fdc6007835e7cb0489a18af03ba7b6aba1aec1f62cb1c595 +size 35189 diff --git a/backstop_data/bitmaps_reference/ds-vr-test__patterns_change-language_example-change-language-english_0_document_1_tablet.png b/backstop_data/bitmaps_reference/ds-vr-test__patterns_change-language_example-change-language-english_0_document_1_tablet.png index 4639cf53bf..aa7f443989 100644 --- a/backstop_data/bitmaps_reference/ds-vr-test__patterns_change-language_example-change-language-english_0_document_1_tablet.png +++ b/backstop_data/bitmaps_reference/ds-vr-test__patterns_change-language_example-change-language-english_0_document_1_tablet.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1469eed2e55e5ab00bea49be44f69a32ec028c8be717af317ce5cc13fe242dcb -size 5532 +oid sha256:f7ddc547b802afea3c97092b4070d94c992523e35929cfbc160dc20cd63684a2 +size 30283 diff --git a/backstop_data/bitmaps_reference/ds-vr-test__patterns_change-language_example-change-language-english_0_document_2_mobile.png b/backstop_data/bitmaps_reference/ds-vr-test__patterns_change-language_example-change-language-english_0_document_2_mobile.png index 67c949fa25..ea4f9c5833 100644 --- a/backstop_data/bitmaps_reference/ds-vr-test__patterns_change-language_example-change-language-english_0_document_2_mobile.png +++ b/backstop_data/bitmaps_reference/ds-vr-test__patterns_change-language_example-change-language-english_0_document_2_mobile.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4e10dccb178c96b8681827a1767dcf3173d7cc68199ab33acc88256268dddd45 -size 2618 +oid sha256:b5227eccfe3fff22704fad27791217a8f30c06097b6956c83fcff92c2e99bd39 +size 25838 diff --git a/src/foundations/page-template/example-base-page-template-block-areas.njk b/src/foundations/page-template/example-base-page-template-block-areas.njk index c8912c5d42..28fae74a3e 100644 --- a/src/foundations/page-template/example-base-page-template-block-areas.njk +++ b/src/foundations/page-template/example-base-page-template-block-areas.njk @@ -1,6 +1,3 @@ ---- -layout: example ---- {% from "components/skip-to-content/_macro.njk" import onsSkipToContent %} {% from "components/header/_macro.njk" import onsHeader %} {% from "components/footer/_macro.njk" import onsFooter %} diff --git a/src/patterns/change-language/example-change-language-cymraeg.njk b/src/patterns/change-language/example-change-language-cymraeg.njk index 79a774573e..7b6e1f80b8 100644 --- a/src/patterns/change-language/example-change-language-cymraeg.njk +++ b/src/patterns/change-language/example-change-language-cymraeg.njk @@ -12,7 +12,7 @@ layout: ~ "language": { "languages": [ { - "url": "/patterns/change-language/examples/english", + "url": "/patterns/change-language/example-change-language-english", "ISOCode": "en", "text": "English", "current": false diff --git a/src/patterns/change-language/example-change-language-english.njk b/src/patterns/change-language/example-change-language-english.njk index ed0f77d04c..a0df1b40a3 100644 --- a/src/patterns/change-language/example-change-language-english.njk +++ b/src/patterns/change-language/example-change-language-english.njk @@ -1,6 +1,6 @@ --- title: "Example: Change language from English to Welsh" -layout: none +layout: ~ --- +++ @@ -18,7 +18,7 @@ layout: none "current": true }, { - "url": "/patterns/change-language/examples/cymraeg", + "url": "/patterns/change-language/example-change-language-cymraeg", "ISOCode": "cy", "text": "Cymraeg", "current": false