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

Fix out video links #156

Merged
merged 5 commits into from
Nov 22, 2024
Merged

Fix out video links #156

merged 5 commits into from
Nov 22, 2024

Conversation

MrHinsh
Copy link
Member

@MrHinsh MrHinsh commented Nov 22, 2024

No description provided.

…ping

Introduce conditional logic to handle Giscus discussion ID mapping.
If a `giscusDiscussionId` parameter is present, the mapping is set to
"number" with the specific discussion ID. Otherwise, it defaults to
"og:title" mapping. This change allows for more precise control over
discussion threads, enabling specific discussions to be linked directly
when an ID is provided, while maintaining the default behavior when
it's not.
…etadata

Introduce a new 'source' field in the markdown metadata to specify the
origin of the content as "youtube". This addition enhances the metadata
by providing more context about the content's source, which can be
useful for categorization, filtering, or processing tasks.
… files

The condition to determine whether a markdown file should be updated is corrected. Previously, the script checked for the presence of 'canonicalUrl' in the file, which was incorrect. The correct condition is to check for 'source: youtube', ensuring that only relevant markdown files are updated. This change prevents unnecessary updates and aligns the script's behavior with the intended logic.
@nkdagility-actions-bot
Copy link

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

@MrHinsh MrHinsh self-assigned this Nov 22, 2024
@MrHinsh MrHinsh merged commit 9c82898 into main Nov 22, 2024
6 checks passed
@MrHinsh MrHinsh deleted the fix-out-video-links branch November 22, 2024 10:32
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