zregvart commented on a change in pull request #579:
URL: https://github.com/apache/camel-website/pull/579#discussion_r634340487



##########
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:
       Unfortunately this won't work with our content security policy. I'm also 
concerned about tracking and adding weight to the page (5 requests, ~400KB). 
Perhaps we could do https://sharingbuttons.io/ instead?




-- 
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:
[email protected]


Reply via email to