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

Wrong image URL #16

Open
Karmalakas opened this issue Feb 10, 2021 · 0 comments
Open

Wrong image URL #16

Karmalakas opened this issue Feb 10, 2021 · 0 comments

Comments

@Karmalakas
Copy link
Contributor

Karmalakas commented Feb 10, 2021

I've uploaded logo.jpg to my home page. File appeared in /user/pages/01.home/logo.jpg right next to .md files, but Aura generates wrong URLs for all 3 places (og:image, twitter:image and in a JSON). It shows URL as mypaga.tld/logo.jpg, which gets routed to not found /error page. URLs should be /user/pages/01.home/logo.jpg AFAIK, shouldn't they?

And for second language (/en in my case) it makes mypage.tld/en/logo.jpg URL, which doesn't make sense actually

Grav v1.7.5
Admin v1.10.3
Aura v2.1.1

Karmalakas added a commit to Karmalakas/grav-plugin-aura that referenced this issue Mar 6, 2021
Fix page image URL [Issue matt-j-m#16](matt-j-m#16)
Fix double encoded HTML entities [Issue matt-j-m#12](matt-j-m#12)
Fix code style (was very inconsistent)
Split object setting to separate methods
Add .gitignore IDE rules
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

No branches or pull requests

1 participant