You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openpower.foundation_sw_dev/themes/openpowerfoundation/layouts/partials/discourse.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>