Skip to content

feat(pat-inject): More metadata updates for history:record injections.#1280

Open
thet wants to merge 1 commit intomasterfrom
thet/inject/title-canonical-base
Open

feat(pat-inject): More metadata updates for history:record injections.#1280
thet wants to merge 1 commit intomasterfrom
thet/inject/title-canonical-base

Conversation

@thet
Copy link
Member

@thet thet commented Mar 23, 2026

When a URL manipulating injection with the history:record setting is done, we also want a bunch of other data be updated. That includes:

  • title
  • canonical link
  • base URL

We already had support for the title tag in the head section of the document. This PR adds support for <link rel="canonical" href="..." /> and <base href="..."> tags.

When a URL manipulating injection with the history:record setting is
done, we also want a bunch of other data be updated. That includes:

- title
- canonical link
- base URL

We already had support for the title tag in the head section of the
document. This PR adds support for ``<link rel="canonical" href="..."
/>`` and `<base href="...">` tags.
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.

1 participant