统一微信二维码分享链接 (#236)
This commit is contained in:
parent
5f733646cc
commit
9b1cc49332
|
@ -99,7 +99,7 @@ function layoutDiv() {
|
||||||
el += '</div>';
|
el += '</div>';
|
||||||
if (theme.article.share.includes('wechat')) {
|
if (theme.article.share.includes('wechat')) {
|
||||||
el += '<div class="qrcode" id="qrcode-wechat" style="visibility:hidden;height:0">';
|
el += '<div class="qrcode" id="qrcode-wechat" style="visibility:hidden;height:0">';
|
||||||
el += '<img src="https://api.qrserver.com/v1/create-qr-code/?size=256x256&data=' + url + '"/>';
|
el += '<img src="https://api.qrserver.com/v1/create-qr-code/?size=256x256&data=' + page.permalink + '"/>';
|
||||||
el += '</div>';
|
el += '</div>';
|
||||||
}
|
}
|
||||||
el += '</div>';
|
el += '</div>';
|
||||||
|
|
Loading…
Reference in New Issue