Skip to content

Commit e7350e9

Browse files
author
zjtang
committed
make wechat img as 20% width and height
1 parent 80a8fbd commit e7350e9

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

templates/blogging/about.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ <h4>Ziv</h4>
2828
<p>
2929
程序猿一枚。主攻C、Python、Go语言,目前从事SDN、NFV相关开发工作。
3030
<br />
31-
微信
32-
<img src="/static/upload/Wechat-ziv.png" alt="" style="width:30%">
31+
欢迎加微信
32+
<img src="/static/upload/Wechat-ziv.png" alt="" style="width:20%">
3333
</p>
3434
<h4>Ada</h4>
3535
<p>
3636
语音处理算法工程师。熟悉Python、Shell、Kaldi。
3737
<br />
38-
微信
39-
<img src="/static/upload/Wechat-ada.png" alt="" style="width:30%">
38+
欢迎加微信
39+
<img src="/static/upload/Wechat-ada.png" alt="" style="width:20%">
4040
</p>
4141
</div>
4242
</div>

templates/blogging/page.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,12 @@ <h1 class="post-title">
6868
{% endif %}
6969
</div>
7070
<hr>
71+
{% if post.public %}
7172
<div style="text-align:center">
72-
<p>如果你喜欢本篇文章,欢迎赞赏作者请他(她)喝杯咖啡</p>
73-
<img src="/static/upload/Wechat-zs-{{post.user_name}}.png" alt="">
73+
<p>如果你喜欢本篇文章,欢迎赞赏作者请他(她)喝杯咖啡或者奶茶吧</p>
74+
<img src="/static/upload/Wechat-zs-{{post.user_name}}.png" alt="" style="width:20%">
7475
</div>
76+
{% endif %}
7577
<nav class="page-navigator">
7678
{% if prev_post %}
7779
<a class="extend prev" rel="prev" href="{{prev_post.url}}">上一篇:{{prev_post.title}}</a>

0 commit comments

Comments
 (0)