Skip to content

[Bug]: og:image meta tag points to homepage URL instead of an actual image #2622

@Sakshi-Sharma08

Description

@Sakshi-Sharma08

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

  1. Go to https://ajay-dhangar.github.io/algo/
  2. Right-click anywhere → View Page Source
  3. Press Ctrl+F and search for "og:image"
  4. See that the content value is the homepage URL, not an image

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

  • Local Development
  • Staging
  • Production
  • Other

System Information (Optional)

OS: Windows 10, Browser: Chrome
URL: https://ajay-dhangar.github.io/algo/

Metadata

Metadata

Labels

bugSomething isn't workinggssoc-26Official 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.in-reviewIndicates that the pull request or issue is currently under review.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions