mirror of
https://github.com/Damillora/Yuika
synced 2024-11-22 17:27:32 +00:00
Add comments
This commit is contained in:
parent
4f691f1530
commit
18af45db69
18
post.hbs
18
post.hbs
@ -49,6 +49,24 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content-full">
|
<div class="content-full">
|
||||||
<div class="my-4" id="comments">
|
<div class="my-4" id="comments">
|
||||||
|
<div id="coral_thread"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
(function() {
|
||||||
|
var d = document, s = d.createElement('script');
|
||||||
|
var url = 'comment.nanao.moe';
|
||||||
|
s.src = '//' + url + '/assets/js/embed.js';
|
||||||
|
s.async = false;
|
||||||
|
s.defer = true;
|
||||||
|
s.onload = function() {
|
||||||
|
Coral.createStreamEmbed({
|
||||||
|
id: "coral_thread",
|
||||||
|
autoRender: true,
|
||||||
|
rootURL: '//' + url,
|
||||||
|
});
|
||||||
|
};
|
||||||
|
(d.head || d.body).appendChild(s);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user