1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-26 02:57:31 +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": { "xl": {
"width": 1600 "width": 1600
} },
"xxl": { "xxl": {
"width": 1920 "width": 1920
} }

View File

@ -70,21 +70,11 @@
</div> </div>
<div class="my-4 w-full content-full"> <div class="my-4 w-full content-full">
<div class="my-4" id="comments"> <div class="my-4" id="comments">
{{!-- I embedded a Discourse instance for my comments, feel free to replace --}}
{{#is "preview"}} {{#is "preview"}}
<p>Comments are disabled for post previews</p> <p>Comments are disabled for post previews</p>
{{else}} {{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}} {{/is}}
</div> </div>
</div> </div>