We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Canonical URL Service
I want to be able to upsert and remove a canonical URL for a document.
As a developer, I have to be able to change the canonical URL of a document easily. Currently, with Angular v12, there's no "nice" way to do this.
Web.dev has a nice article here -- https://web.dev/canonical/
Additionally, Lighthouse has an audit that validates canonicals too.
I think this warrants a new package called @daffodil/seo as that is the chief purpose of this feature.
@daffodil/seo
export interface DaffCanonicalService { upsert(url :string): void; remove(): void; }
Daffodil version: 0.36.1 Angular version: 12.0.0
The text was updated successfully, but these errors were encountered:
So we should handle the edge case where a canonical link tag already exists in the page?
Sorry, something went wrong.
I think so yes.
griest024
damienwebdev
Successfully merging a pull request may close this issue.
💡 Feature request
Feature Name
Canonical URL Service
The Desired Behavior
I want to be able to upsert and remove a canonical URL for a document.
Your Use Case
As a developer, I have to be able to change the canonical URL of a document easily. Currently, with Angular v12, there's no "nice" way to do this.
Prior Work
Web.dev has a nice article here -- https://web.dev/canonical/
Additionally, Lighthouse has an audit that validates canonicals too.
Possible Implementation
I think this warrants a new package called
@daffodil/seo
as that is the chief purpose of this feature.Environment
The text was updated successfully, but these errors were encountered: