bridgetownrb / bridgetown-seo-tag

A Bridgetown plugin to add metadata tags for search engines and social networks to better index and display your site's content.
MIT License
29 stars 8 forks source link

Canonical URL with resource engine #2

Closed stevegeek closed 3 years ago

stevegeek commented 3 years ago

I believe there is a problem here https://github.com/bridgetownrb/bridgetown-seo-tag/blob/master/lib/bridgetown-seo-tag/drop.rb#L172 ... .url no longer works with Resources, and should be .relative_url

jaredcwhite commented 3 years ago

If you look down at the else condition, it does handle relative_url. So it should be working (if not, could be some other issue).

stevegeek commented 3 years ago

Doh... I had been looking at my local installed copy of the source file, and im on v3... sorry!