~xdavidwu/xdavidwu.link

67f135c7691056f20ce62a8c2f3dfd98aa7a3633 — xdavidwu 2 years ago ba28730
move disqus noscript hint to the right space
2 files changed, 3 insertions(+), 2 deletions(-)

M _includes/comments-providers/disqus.html
M _includes/comments.html
M _includes/comments-providers/disqus.html => _includes/comments-providers/disqus.html +0 -1
@@ 11,5 11,4 @@
      (d.head || d.body).appendChild(s);
    })();
  </script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
{% endif %}

M _includes/comments.html => _includes/comments.html +3 -1
@@ 6,7 6,9 @@
      <section id="discourse-comments"></section>
    {% when "disqus" %}
      <h4 class="page__comments-title">{{ comments_label }}</h4>
      <section id="disqus_thread"></section>
      <section id="disqus_thread">
        <noscript>Disqus comments need JavaScript enabled.</noscript>
      </section>
    {% when "facebook" %}
      <h4 class="page__comments-title">{{ comments_label }}</h4>
      <section class="fb-comments" data-href="{{ page.url | absolute_url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section>