Permalink
Browse files

文章QRR和版权信息

  • Loading branch information...
zhalipeng
zhalipeng committed Mar 29, 2017
1 parent 786dc43 commit 813eb38089c1fe09098a0b24a334c456badbaf14
Showing with 9 additions and 1 deletion.
  1. +1 −1 db.json
  2. +4 −0 themes/newNext/_config.yml
  3. +4 −0 themes/newNext/layout/_macro/post.swig

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -561,6 +561,10 @@ wechat_subscriber:
qcode: http://7xilo9.com1.z0.glb.clouddn.com/blog-images/blog-theme-setting/wechat_subscriber.jpg
description: 欢迎您扫一扫上面的微信公众号,订阅我的博客!

# 文章二维码
postQR: true
# 自定义版权信息
customCopyright: true

# Assets
css: css
@@ -313,12 +313,15 @@
</div>

{% if not is_index %}
{% if theme.postQR %}
<blockquote class="blockquote-center">全文完,若有不足之处请评论指正。<br/>
<div class="qr-code" onclick="return false">
<img src="https://encrypt.proxy.is26.com/qr?content={{ post.permalink }}" alt="">
<p>扫描二维码,移动端阅读</p>
</div>
</blockquote>
{% endif %}
{% if theme.customCopyright %}
<div class="postCopyright" style="clear:both;">
<span>本文标题:</span><a href="{{ url_for(post.path) }}">{{ post.title }}</a><br/>
<span>文章作者:</span><a href="/about" title="查看 {{ theme.author }} 的资料">{{ theme.author }}</a><br/>
@@ -339,6 +342,7 @@
<span>转载请保留原文链接及作者信息,谢谢!</span>
</div>
{% endif %}
{% endif %}

<div>
{% if not is_index %}

0 comments on commit 813eb38

Please sign in to comment.