-
-
Notifications
You must be signed in to change notification settings - Fork 300
[Bug]: og:image meta tag points to homepage URL instead of an actual image #2622
Copy link
Copy link
Open
Sakshi-Sharma08/algo
#1Labels
bugSomething isn't workingSomething isn't workinggssoc-26Official label for all GSSoC 2026 related issues and pull requests.Official label for all GSSoC 2026 related issues and pull requests.gssoc:approvedVerified issue or PR that meets all project standards and is ready for the next step.Verified issue or PR that meets all project standards and is ready for the next step.in-reviewIndicates that the pull request or issue is currently under review.Indicates that the pull request or issue is currently under review.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggssoc-26Official label for all GSSoC 2026 related issues and pull requests.Official label for all GSSoC 2026 related issues and pull requests.gssoc:approvedVerified issue or PR that meets all project standards and is ready for the next step.Verified issue or PR that meets all project standards and is ready for the next step.in-reviewIndicates that the pull request or issue is currently under review.Indicates that the pull request or issue is currently under review.
Bug Summary
og:image meta tag contains the homepage URL instead of a real image, causing no preview image when the site is shared on social media.
Bug Description
The og:image meta tag on the homepage is set to the
homepage URL instead of an actual image file.
Current (wrong):
og:image = "https://ajay-dhangar.github.io/algo/"
Expected (correct):
og:image = "https://ajay-dhangar.github.io/algo/img/logo.png"
Steps to Reproduce
Expected Behavior
The og:image should point to a real image file so that
a proper preview thumbnail appears when the site is
shared on WhatsApp, Twitter, LinkedIn, or Discord.
Actual Behavior
No preview image appears when the site link is shared
on social media because og:image points to the
homepage URL instead of an image file.
Screenshots or Logs (Optional)
No response
Severity
Minor - cosmetic or minor issue
Environment
System Information (Optional)
OS: Windows 10, Browser: Chrome
URL: https://ajay-dhangar.github.io/algo/