You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/05/19 04:44:09 UTC
[GitHub] [camel-website] tadayosi commented on a change in pull request #579: feat(blog): add Twitter share button to blog post
tadayosi commented on a change in pull request #579:
URL: https://github.com/apache/camel-website/pull/579#discussion_r634908839
##########
File path: layouts/blog/post.html
##########
@@ -20,6 +20,13 @@ <h1>{{ .Title }}</h1>
</figure>
{{ end }}
{{ end }}
+ <a href="https://twitter.com/intent/tweet" class="twitter-share-button"
+ data-size="large"
+ data-text="{{ .Title }}"
+ data-url="{{ .Permalink }}"
+ data-hashtags="ApacheCamel"
+ data-show-count="false">Tweet this blog</a>
+ <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
Review comment:
Thanks Zoran. I was thinking there might be such a case. sharingbuttons.io looks great. So, according to our policy:
https://camel.apache.org/privacy-policy/
we should no embed a js script that tracks users' activities, and as sharingbuttons.io claims that it only uses HTML & CSS and does not track users' activities we can use the widget in the blog template, right?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org