rumkin / pill

Add dynamic content loading to static sites with only 1 KiB of JS
https://rumkin.github.io/pill/
MIT License
383 stars 19 forks source link

Ignore certain anchor tags #11

Closed tamb closed 4 years ago

tamb commented 4 years ago

Should be an option to ignore certain anchor tags

rumkin commented 4 years ago

I'd prefer not to leak into HTML with custom tags at least for the first version.There is shouleServe callback for thing like this, its' arguments list should be extended. Currently it accepts url as a single argument, there should be a link element as the second. Could you do this in your PR?

rumkin commented 4 years ago

Thanks for contribution!