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