Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add [Withdrawn] to the og:title tag of withdrawn content #2066

Merged
merged 1 commit into from
May 19, 2021

Conversation

benjamineskola
Copy link
Contributor

What

For content that has been withdrawn, prefixes the og:title tag with '[Withdrawn]'.

https://trello.com/c/7OxshPDC/2498-2-add-withdrawn-to-ogtitle-tag

Why

The prefix is currently added to the title metatag, but not og:title. The latter is used when content is shared on social media etc, so in those cases it's not clear to users that content has been withdrawn.

Visual Changes

@bevanloon bevanloon temporarily deployed to govuk-publis-prefix-tit-vme2rn May 13, 2021 15:40 Inactive
@benjamineskola benjamineskola force-pushed the prefix-title-withdrawn branch from f53263e to 21ad535 Compare May 14, 2021 09:19
@bevanloon bevanloon temporarily deployed to govuk-publis-prefix-tit-vme2rn May 14, 2021 09:19 Inactive
@benjamineskola benjamineskola force-pushed the prefix-title-withdrawn branch from 21ad535 to 3f2c306 Compare May 14, 2021 13:59
@bevanloon bevanloon temporarily deployed to govuk-publis-prefix-tit-vme2rn May 14, 2021 13:59 Inactive
@benjamineskola benjamineskola force-pushed the prefix-title-withdrawn branch from 3f2c306 to 730ef96 Compare May 17, 2021 09:47
@bevanloon bevanloon temporarily deployed to govuk-publis-prefix-tit-vme2rn May 17, 2021 09:47 Inactive
@benjamineskola benjamineskola force-pushed the prefix-title-withdrawn branch from 730ef96 to 89c35bc Compare May 17, 2021 09:52
@bevanloon bevanloon temporarily deployed to govuk-publis-prefix-tit-vme2rn May 17, 2021 09:52 Inactive
@benjamineskola benjamineskola force-pushed the prefix-title-withdrawn branch from 89c35bc to 7d9e2bd Compare May 17, 2021 10:03
@bevanloon bevanloon temporarily deployed to govuk-publis-prefix-tit-vme2rn May 17, 2021 10:04 Inactive
@benjamineskola benjamineskola force-pushed the prefix-title-withdrawn branch from 7d9e2bd to b61784c Compare May 17, 2021 10:14
@bevanloon bevanloon temporarily deployed to govuk-publis-prefix-tit-vme2rn May 17, 2021 10:15 Inactive
@benjamineskola benjamineskola force-pushed the prefix-title-withdrawn branch from b61784c to d8803b8 Compare May 17, 2021 10:27
@bevanloon bevanloon temporarily deployed to govuk-publis-prefix-tit-vme2rn May 17, 2021 10:27 Inactive
@benjamineskola benjamineskola force-pushed the prefix-title-withdrawn branch from d8803b8 to c327066 Compare May 17, 2021 10:31
@bevanloon bevanloon temporarily deployed to govuk-publis-prefix-tit-vme2rn May 17, 2021 10:32 Inactive
@benjamineskola benjamineskola force-pushed the prefix-title-withdrawn branch from c327066 to ed3cbef Compare May 18, 2021 09:59
@bevanloon bevanloon temporarily deployed to govuk-publis-prefix-tit-vme2rn May 18, 2021 09:59 Inactive
@benjamineskola benjamineskola force-pushed the prefix-title-withdrawn branch from ed3cbef to 4ee04ee Compare May 18, 2021 10:09
@bevanloon bevanloon temporarily deployed to govuk-publis-prefix-tit-vme2rn May 18, 2021 10:09 Inactive
@benjamineskola benjamineskola force-pushed the prefix-title-withdrawn branch from 4ee04ee to b965c72 Compare May 18, 2021 14:01
@bevanloon bevanloon temporarily deployed to govuk-publis-prefix-tit-vme2rn May 18, 2021 14:01 Inactive
@benjamineskola benjamineskola force-pushed the prefix-title-withdrawn branch 2 times, most recently from 7c0b206 to 36e118e Compare May 18, 2021 14:06
@bevanloon bevanloon temporarily deployed to govuk-publis-prefix-tit-vme2rn May 18, 2021 14:07 Inactive
@benjamineskola benjamineskola force-pushed the prefix-title-withdrawn branch from 36e118e to a576f4a Compare May 19, 2021 10:58
@bevanloon bevanloon temporarily deployed to govuk-publis-prefix-tit-vme2rn May 19, 2021 10:59 Inactive
@benjamineskola benjamineskola merged commit 0e368de into master May 19, 2021
@benjamineskola benjamineskola deleted the prefix-title-withdrawn branch May 19, 2021 11:08
benjamineskola added a commit that referenced this pull request May 24, 2021
* Add `[Withdrawn]` to the beginning of the `og:title` meta tag for withdrawn pages ([PR #2066](#2066))
* Fix accordion anchor link navigation bug ([PR #2087](#2087))
* Remove jQuery from the feedback component ([PR #2062](#2062))
* Remove `display: none` rules from component print stylesheets, and use the `govuk-!-display-none-print` class instead. ([PR #1561](#1561))
* Fix IE11 `initCustomEvent` error ([PR #2079](#2079))
@benjamineskola benjamineskola mentioned this pull request May 24, 2021
benjamineskola added a commit that referenced this pull request May 24, 2021
* Add `[Withdrawn]` to the beginning of the `og:title` meta tag for withdrawn pages ([PR #2066](#2066))
* Fix accordion anchor link navigation bug ([PR #2087](#2087))
* Remove jQuery from the feedback component ([PR #2062](#2062))
* Remove `display: none` rules from component print stylesheets, and use the `govuk-!-display-none-print` class instead. ([PR #1561](#1561))
* Fix IE11 `initCustomEvent` error ([PR #2079](#2079))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants