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 WhatsApp to share.html #317

Merged
merged 3 commits into from
Sep 14, 2024
Merged

Add WhatsApp to share.html #317

merged 3 commits into from
Sep 14, 2024

Conversation

diamantelist
Copy link
Contributor

No description provided.

Copy link

netlify bot commented Sep 11, 2024

Deploy Preview for hugo-theme-dream-docs-preview canceled.

Name Link
🔨 Latest commit 02fd311
🔍 Latest deploy log https://app.netlify.com/sites/hugo-theme-dream-docs-preview/deploys/66e560fa497df20008ce9ca5

@@ -1,8 +1,16 @@
<span class="flex items-center gap-2">
<span class="text-sm font-medium">Share on:</span>
Copy link
Owner

Choose a reason for hiding this comment

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

I'm unwilling to add the text "share on" before icons because extra work is needed to adapt to other languages. And also it's a matter of personal preference, I guess adding a slot there is a better solution so that you can insert anything into it.

Copy link
Owner

Choose a reason for hiding this comment

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

@diamantelist In d703a80, I've added a slot named post-share-left. Now you can create a post-share-left.html file in layouts/partials/ of your project, and then add this line to it.

I haven't figured out if I need to add the text here, but I think it should also be free for the user to choose. So I added a slot to help implement.

@g1eny0ung g1eny0ung changed the title Add Whatsapp and Instagram to Share.html Add WhatsApp to share.html Sep 14, 2024
@g1eny0ung g1eny0ung merged commit 91aa2af into g1eny0ung:master Sep 14, 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