Skip to content

Conversation

@cowboyd
Copy link
Member

@cowboyd cowboyd commented Jan 31, 2025

Motivation

Metadata wasn't showing properly in LinkedIn. It turns out that the og:url was being hardcoded to the site index. While this might not be the entirety of the issue. It is a problem.

Approach

This reads the current path and uses THAT as the ogurl.

Metadata wasn't showing properly in LinkedIn. It turns out that the
og:url was being hardcoded to the site index. While this might not be
the entirety of the issue. It is a problem.

This reads the current path and uses THAT as the ogurl.
@netlify
Copy link

netlify bot commented Jan 31, 2025

Deploy Preview for frontside canceled.

Name Link
🔨 Latest commit fa5516f
🔍 Latest deploy log https://app.netlify.com/sites/frontside/deploys/679d27d9255d230008f22fc6

@elrickvm elrickvm self-requested a review January 31, 2025 19:43
@cowboyd cowboyd merged commit 03a38fb into production Jan 31, 2025
7 checks passed
@cowboyd cowboyd deleted the cl/fix-og-url branch January 31, 2025 19:47
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

Successfully merging this pull request may close these issues.

3 participants