Skip to content

Conversation

@BenBE
Copy link
Contributor

@BenBE BenBE commented Sep 5, 2024

This PR introduces a new hook to allow the user to modify or supress individual or all link tags generated by this plugin.

As I'm rarely working with JS/TS, I'm glad about feedback on the code. The PR was drafted in a few minutes. I only gauged the code to look fine; I didn't run it … ;-)

Fixes: #7, #10, #70

Using this hook a hook can be set that allows for
filtering the list of link tags that are generated
by this plugin. The hook can both supress generating
link tags or modify the contents of the links.

Fixes: cssninjaStudio#7
Fixes: cssninjaStudio#10
@stafyniaksacha stafyniaksacha merged commit 6b61890 into cssninjaStudio:main Dec 1, 2024
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.

Is there a way to inject link attributes to the generated link tag?

2 participants