diff options
author | coderzh <coderzh@gmail.com> | 2019-04-15 14:57:37 +0300 |
---|---|---|
committer | coderzh <coderzh@gmail.com> | 2019-04-15 14:57:37 +0300 |
commit | fe0b8dbdb20687baf2cd5286fb153c4835720758 (patch) | |
tree | 1fe0ec4d935dae7b0206d8a6938aac2b67428eb8 | |
parent | ccb3b854e484852fb9f6527eb75c387931d1eeb7 (diff) | |
parent | 33bb39e9d6e5b72bbadc292327aa4dd44c66b2ca (diff) |
Merge branch 'master' of https://github.com/alants56/hugo-pacman-theme into alants56-master
-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> |