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

REFACTOR use MetaComponents() method allowing for better extensibility #64

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

muskie9
Copy link

@muskie9 muskie9 commented Jul 27, 2021

resolves #59

This is a fairly major change to how the tags are built. I've updated the existing tests to match using the MetaComponents() method and things appear to be generating as expected.

One thing I did not take into account with this update is if there is a desire for additional logic surrounding the handling of the canonical tag for things like Virtual Page, or if a canonical already exists from some other extension. If this module's extension is loaded last, it will simply overwrite any canonical in the MetaComponents. That being said, any module using the MetaTags() method, and setting a canonical could result in two canonical tags being generated.

Open to feedback on any/all of this and am happy to update where needed.

muskie9 and others added 2 commits July 27, 2021 12:30
@oddnoc oddnoc self-assigned this Jul 7, 2022
@oddnoc
Copy link
Collaborator

oddnoc commented Jul 7, 2022

Could you rebase your branch on develop? Thanks!

@sunnysideup
Copy link

could this be actioned @oddnoc ?

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.

REFACTOR canonical creation to utilize MetaComponents method
4 participants