mirror of
https://github.com/Damillora/Yuika
synced 2024-12-25 13:43:46 +00:00
Remove comments
This commit is contained in:
parent
d7926cce17
commit
ca487735f1
@ -29,7 +29,7 @@
|
||||
},
|
||||
"xl": {
|
||||
"width": 1600
|
||||
}
|
||||
},
|
||||
"xxl": {
|
||||
"width": 1920
|
||||
}
|
||||
|
14
post.hbs
14
post.hbs
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user