1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-22 09:17:33 +00:00

Remove comments

This commit is contained in:
Damillora 2020-12-14 23:46:51 +07:00
parent d7926cce17
commit ca487735f1
2 changed files with 3 additions and 13 deletions

View File

@ -29,7 +29,7 @@
},
"xl": {
"width": 1600
}
},
"xxl": {
"width": 1920
}

View File

@ -70,21 +70,11 @@
</div>
<div class="my-4 w-full content-full">
<div class="my-4" id="comments">
{{!-- I embedded a Discourse instance for my comments, feel free to replace --}}
{{#is "preview"}}
<p>Comments are disabled for post previews</p>
{{else}}
<div id='discourse-comments'></div>
{{!-- Comments --}}
<script type="text/javascript">
DiscourseEmbed = { discourseUrl: 'https://discourse.nanao.moe/',
discourseEmbedUrl: '{{url absolute="true"}}' };
(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>
{{/is}}
</div>
</div>