15 lines
524 B
HTML
15 lines
524 B
HTML
<div id='discourse-comments'></div>
|
|
<script type="text/javascript">
|
|
DiscourseEmbed = {
|
|
discourseUrl: 'https://discuss.openpower.foundation/',
|
|
discourseEmbedUrl: "{{ .RelPermalink | relURL }}",
|
|
topicId: {{ .Param "discoursetopic" }},
|
|
};
|
|
(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>
|