1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-23 01:37:33 +00:00

Add comments

This commit is contained in:
Damillora 2019-11-11 03:17:10 +07:00
parent 4f691f1530
commit 18af45db69

View File

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