diff options
-rw-r--r-- | layouts/partials/after_footer.html | 2 | ||||
-rw-r--r-- | layouts/partials/head.html | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/layouts/partials/after_footer.html b/layouts/partials/after_footer.html index c10c776..a9537f4 100644 --- a/layouts/partials/after_footer.html +++ b/layouts/partials/after_footer.html @@ -94,7 +94,7 @@ $(document).ready(function(){ tsina = $this.attr('data-tsina'); var html = [ '<a href="#" class="overlay" id="qrcode"></a>', - '<div class="qrcode clearfix"><span>扫描二维码分享到微信朋友圈</span><a class="qrclose" href="#share"></a><strong>Loading...Please wait</strong><img id="qrcode-pic" data-src="http://s.jiathis.com/qrcode.php?url=' + encodedUrl + '"/></div>', + '<div class="qrcode clearfix"><span>扫描二维码分享到微信朋友圈</span><a class="qrclose" href="#share"></a><strong>Loading...Please wait</strong><img id="qrcode-pic" data-src="http://b.bshare.cn/barCode?site=weixin&url=' + encodedUrl + '"/></div>', '<a href="#textlogo" class="article-back-to-top" title="Top"></a>', '<a href="https://www.facebook.com/sharer.php?u=' + encodedUrl + '" class="article-share-facebook" target="_blank" title="Facebook"></a>', '<a href="#qrcode" class="article-share-qrcode" title="QRcode"></a>', diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c35281d..44a3469 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -22,6 +22,9 @@ <link rel="stylesheet" href="{{ .Site.BaseURL }}highlight/styles/github.css"> <script src="{{ .Site.BaseURL }}highlight/highlight.pack.js"></script> <script>hljs.initHighlightingOnLoad();</script> +<script type="text/javascript" async + src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"> +</script> <link rel="stylesheet" href="{{ .Site.BaseURL }}font/hack/css/hack.min.css"> <link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css"> </head> |