mirror of
https://github.com/privacyguides/blog.privacyguides.org.git
synced 2025-07-15 16:02:37 +00:00
Import blog posts
This commit is contained in:
14
theme/partials/comments.html
Normal file
14
theme/partials/comments.html
Normal file
@ -0,0 +1,14 @@
|
||||
{% if page.meta.comments %}
|
||||
<div id='discourse-comments'></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
DiscourseEmbed = { discourseUrl: 'https://discuss.privacyguides.org/',
|
||||
discourseEmbedUrl: '{{ page.canonical_url }}' };
|
||||
|
||||
(function() {
|
||||
var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
|
||||
d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
|
||||
})();
|
||||
</script>
|
||||
{% endif %}
|
Reference in New Issue
Block a user