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

✨ (head.html): add conditional backlink meta tag for video pages #148

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

MrHinsh
Copy link
Member

@MrHinsh MrHinsh commented Nov 21, 2024

Introduce a conditional check for the videoId parameter to customize the giscus:backlink meta tag. This change ensures that when a page has a videoId, the backlink points to the specific video resource URL, enhancing SEO and user navigation. If no videoId is present, the backlink defaults to the page's relative permalink.

Introduce a conditional check for the `videoId` parameter to customize
the `giscus:backlink` meta tag. This change ensures that when a page
has a `videoId`, the backlink points to the specific video resource
URL, enhancing SEO and user navigation. If no `videoId` is present,
the backlink defaults to the page's relative permalink.
@MrHinsh MrHinsh enabled auto-merge November 21, 2024 16:25
@nkdagility-actions-bot
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://yellow-pond-042d21b03-148.westeurope.5.azurestaticapps.net

@MrHinsh MrHinsh merged commit 6f4a151 into main Nov 21, 2024
6 checks passed
@MrHinsh MrHinsh deleted the fix-out-video-links branch November 21, 2024 16:27
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.

1 participant