<% (theme.meta.share||[]).forEach(function(item){ %> <% if (item.id == 'qrcode'){ %> <% var src = qrcode(url,{margin:1,size:8}); %>
<% } else { %> href="https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=<%- post.permalink %>&title=<%- (post.seo_title || post.title) + ' - ' + config.title %><%- (post.thumbnail) ? '&pics=' + (post.thumbnail) : '' %>&summary=<%- strip_html(post.excerpt) %>" <% } else if (item.id == 'qq'){ %> href="http://connect.qq.com/widget/shareqq/index.html?url=<%- post.permalink %>&title=<%- (post.seo_title || post.title) + ' - ' + config.title %><%- (post.thumbnail) ? '&pics=' + (post.thumbnail) : '' %>&summary=<%- strip_html(post.excerpt) %>" <% } else if (item.id == 'weibo'){ %> href="http://service.weibo.com/share/share.php?url=<%- post.permalink %>&title=<%- (post.seo_title || post.title) + ' - ' + config.title %><%- (post.thumbnail) ? '&pics=' + (post.thumbnail) : '' %>&summary=<%- strip_html(post.excerpt) %>" <% } else if (item.id == 'telegram'){ %> href="https://t.me/share/url?url=<%- post.permalink %>&text=<%- (post.seo_title || post.title) + ' - ' + config.title %>" <% } %> > <% if (item.img){ %> <% } else if (item.icon){ %> <% } %> <% } %> <% }) %>