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

ArticleCard difference in local vs live hosting #28

Closed
TysonMN opened this issue Dec 2, 2020 · 3 comments
Closed

ArticleCard difference in local vs live hosting #28

TysonMN opened this issue Dec 2, 2020 · 3 comments

Comments

@TysonMN
Copy link
Contributor

TysonMN commented Dec 2, 2020

The homepage of my live site looks like
2020-12-02_09-25-10_412_chrome

The homepage of my locally hosted site looks like
2020-12-02_09-25-03_411_chrome

That image in the article card is one of the images from my post. It occurs many times, including as the first image in the post.

Why does that image not show up on my live site? Can the behavior be changed so that it does show up on the live site?

P.S.
I created issue #25 for a related reason. I thought the only way to get an image to show up on the article card was if that image was the hero image. If the behavior of my live site could be changed to match the behavior of my locally hosted site, then I will no longer be blocked by #25.

@loreanvictor
Copy link
Contributor

It is interesting that is shows up while hosting locally. Generally article card fetches meta info, and meta image MUST be an absolute URL. #25 will provide a way to automatically create absolute paths from relative asset URLs, which would also alleviate this issue. I will close this issue now since it is basically duplicated by #25.

@TysonMN
Copy link
Contributor Author

TysonMN commented Dec 2, 2020

Fair enough. I thought this might be a duplicate, but I created it anyway just to make sure.

@loreanvictor
Copy link
Contributor

Always a good idea, I mean there might be cases where two issues overlap but they do have different solutions.

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

2 participants