1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 17:56:26 +00:00

Improve Discourse comments integration

This commit is contained in:
David Young
2021-01-25 17:38:32 +13:00
parent f10c073ca0
commit 20cee50843

View File

@@ -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