mirror of
https://github.com/carsonip/hugo-theme-minos
synced 2025-12-30 03:19:49 -08:00
Remove useless comments
This commit is contained in:
@@ -5,47 +5,10 @@
|
||||
{{ partial "header.html" . }}
|
||||
<section id="main" class="outer">
|
||||
{{ partial "article.html" . }}
|
||||
|
||||
<!--<% if (!index && theme.share_jia){ %>-->
|
||||
<!--<%- partial('post/share_jia') %>-->
|
||||
<!--<% } %>-->
|
||||
|
||||
<!--<% if (!index && theme.share_addthis){ %>-->
|
||||
<!--<%- partial('post/share_addthis') %>-->
|
||||
<!--<% } %>-->
|
||||
{{ partial "share_addthis.html" . }}
|
||||
|
||||
{{ if not .Params.nocomment }}
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
{{ end }}
|
||||
<!--<% if (!index && post.comments && config.disqus_shortname){ %>-->
|
||||
<!--<section id="comments">-->
|
||||
<!--<div id="disqus_thread">-->
|
||||
<!--<noscript>Please enable JavaScript to view the <a href="//disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>-->
|
||||
<!--</div>-->
|
||||
<!--</section>-->
|
||||
<!--<% } %>-->
|
||||
|
||||
<!--<% if (!index && post.comments && config.duoshuo_shortname){ %>-->
|
||||
<!--<section id="comments">-->
|
||||
<!--<!– 多说评论框 start –>-->
|
||||
<!--<div class="ds-thread" data-thread-key="<%= post.layout %>-<%= post.slug %>" data-title="<%= post.title %>" data-url="<%= page.permalink %>"></div>-->
|
||||
<!--<!– 多说评论框 end –>-->
|
||||
<!--<!– 多说公共JS代码 start (一个网页只需插入一次) –>-->
|
||||
<!--<script type="text/javascript">-->
|
||||
<!--var duoshuoQuery = {short_name:'<%= config.duoshuo_shortname %>'};-->
|
||||
<!--(function() {-->
|
||||
<!--var ds = document.createElement('script');-->
|
||||
<!--ds.type = 'text/javascript';ds.async = true;-->
|
||||
<!--ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';-->
|
||||
<!--ds.charset = 'UTF-8';-->
|
||||
<!--(document.getElementsByTagName('head')[0]-->
|
||||
<!--|| document.getElementsByTagName('body')[0]).appendChild(ds);-->
|
||||
<!--})();-->
|
||||
<!--</script>-->
|
||||
<!--<!– 多说公共JS代码 end –>-->
|
||||
<!--</section>-->
|
||||
<!--<% } %>-->
|
||||
</section>
|
||||
{{ partial "footer.html" . }}
|
||||
<!--<%- partial('_partial/after-footer') %>-->
|
||||
|
||||
Reference in New Issue
Block a user