Skip to content

Commit

Permalink
mv idisqus to head
Browse files Browse the repository at this point in the history
  • Loading branch information
szcf-weiya committed Feb 5, 2018
1 parent 9da8456 commit 661a82f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions material/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@
{% block libs %}
<script src="{{ base_url }}/assets/javascripts/modernizr.js"></script>
{% endblock %}
{% block disqus %}
{% if config.extra.disqus and not page.is_homepage %}
<script src="{{ base_url }}/js/iDisqus.min.js"></script>
{% endif %}
{% endblock %}
{% block fonts %}
{% if font != false %}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family={{
Expand Down
1 change: 0 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ extra_javascript:
- js/mathjax.js
- 'https://cdn.bootcss.com/mathjax/2.7.2-beta.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
- js/baiduzhanzhang.js
- js/iDisqus.min.js

#docs_dir: 'docs'

Expand Down

0 comments on commit 661a82f

Please sign in to comment.