alamb commented on code in PR #106: URL: https://github.com/apache/datafusion-site/pull/106#discussion_r2330607682
########## content/theme/templates/comments.html: ########## @@ -1,26 +1,30 @@ - <!-- - Enable giscuss comments: Allows comments on the blogs posted as - https://github.com/apache/datafusion-site/discussions +<!-- + Comments Section + Loaded only after explicit visitor consent to comply with ASF policy. +--> - More details on https://github.com/apache/datafusion-site/issues/80 - --> - <div id="article_comments"> - <div id="comment_thread"></div> +<div id="comments"> + <hr> + <h3>Comments</h3> - <script src="https://giscus.app/client.js" - data-repo="apache/datafusion-site" - data-repo-id="R_kgDOL8FTzw" - data-category="Announcements" - data-category-id="DIC_kwDOL8FTz84Csqua" - data-mapping="title" - data-strict="1" - data-reactions-enabled="1" - data-emit-metadata="0" - data-input-position="bottom" - data-theme="preferred_color_scheme" - data-lang="en" - data-loading="lazy" - crossorigin="anonymous" - async> - </script> + <!-- Local loader script --> + <script src="/content/js/giscus-consent.js" defer></script> + + <!-- Consent UI --> + <div id="giscus-consent"> + <p> + We use <a href="https://giscus.app/">Giscus</a> for comments, powered by GitHub Discussions. + To respect your privacy, comments will load only when you choose. Review Comment: ```suggestion To respect your privacy, Giscuss and comments will load only if you click "Show Comments" ``` -- 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. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org