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

Add Social Previews #216

Merged
merged 1 commit into from
Aug 2, 2024
Merged

Add Social Previews #216

merged 1 commit into from
Aug 2, 2024

Conversation

DandyLyons
Copy link
Contributor

Add Hugo's built-in support for generating social previews when posting a link on social media sites. (Uses the open graph protocol).

What problem does this PR solve?

Problem: Social media previews are missing when posting a link from the site to social media such as Facebook.
Solution: This PR adds hugo's built-in open graph protocol script.

Is this PR adding a new feature?

Yes

Is this PR related to any issue or discussion?

#215

PR Checklist

  • I have verified that the code works as described/as intended.
  • This change adds a social icon which has a permissive license to use it.
  • This change does not include any external library/resources.
  • This change does not include any unrelated scripts (e.g. bash and python scripts).
  • I have enabled maintainer edits for this PR.

Add Hugo's built-in support for generating social previews when posting a link on social media sites. (Uses the open graph protocol).
Copy link

sonarcloud bot commented Jul 30, 2024

Copy link

netlify bot commented Jul 30, 2024

Deploy Preview for hugo-blog-awesome ready!

Name Link
🔨 Latest commit 53a5fb4
🔍 Latest deploy log https://app.netlify.com/sites/hugo-blog-awesome/deploys/66a8395fe00eca0008fd15a1
😎 Deploy Preview https://deploy-preview-216--hugo-blog-awesome.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Owner

@hugo-sid hugo-sid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @DandyLyons for this.

@hugo-sid hugo-sid merged commit 51636b7 into hugo-sid:main Aug 2, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants