1
0
mirror of https://github.com/Damillora/Yuika synced 2024-12-04 21:53:46 +00:00

Remove comments

This commit is contained in:
Damillora 2020-12-14 23:46:51 +07:00
parent 4e16201933
commit a170e1bd14
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>
<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>
{{!-- Comments --}}
{{/is}}
</div>
</div>