mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-13 09:46:23 +00:00
Improve Discourse comments integration
This commit is contained in:
@@ -16,7 +16,7 @@ Want to know now when this recipe gets updated, or when future recipes are added
|
||||
|
||||
<div id='discourse-comments'></div>
|
||||
|
||||
<!-- script type="text/javascript">
|
||||
<script type="text/javascript">
|
||||
DiscourseEmbed = { discourseUrl: 'https://discourse.geek-kitchen.funkypenguin.co.nz/',
|
||||
discourseEmbedUrl: window.location.protocol + '//' + window.location.hostname + window.location.pathname };
|
||||
|
||||
@@ -25,7 +25,8 @@ Want to know now when this recipe gets updated, or when future recipes are added
|
||||
d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
|
||||
})();
|
||||
</script -->
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
[patreon]: https://www.patreon.com/bePatron?u=6982506
|
||||
|
||||
Reference in New Issue
Block a user