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

Convert Youtube URLs to Hugo native shortcode #46

Merged
merged 4 commits into from
Sep 11, 2024

Conversation

aurelienpierre
Copy link
Contributor

YouTube videos URLs sitting alone on their own line are automatically turned into embeds by WP. We map them here to Hugo native {{< youtube ID >}} shortcode for similar feature.

YouTube videos URLs sitting alone on their own line are automatically turned into embeds by WP. We map them here to Hugo native `{{< youtube ID >}}` shortcode for similar feature.
@ashishb
Copy link
Owner

ashishb commented Sep 11, 2024

Hi @aurelienpierre. Thanks for the contribution.
Just to confirm, are you referring to the naked YouTube links?
wp2hugo already translates properly YouTube embeds

@ashishb ashishb force-pushed the youtube-urls branch 2 times, most recently from 1735445 to 2c84b9d Compare September 11, 2024 06:46
@ashishb ashishb merged commit 1f7706e into ashishb:main Sep 11, 2024
4 checks passed
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.

2 participants