forked from kitian616/jekyll-TeXt-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
45 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,44 @@ | ||
<!-- start custom article top snippet --> | ||
<!-- start custom article footer snippet --> | ||
{% assign _root_path = page.path | slice: 0, 5 %} | ||
{% assign _lang = page.lang | slice: 0, 2 %} | ||
{%- if _root_path == '_docs' -%} | ||
<div class="my-3"> | ||
<a href="https://www.paypal.me/kitian616"> | ||
<img src="https://img.shields.io/badge/PayPal-tip%20me-1462ab.svg?logo=paypal" alt="Tip Me via PayPal" /> | ||
</a> | ||
<a href="https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/3Fkufxcw2xd8HnaRJBNK4ccdtkUDyyNu4V.jpg"> | ||
<img src="https://img.shields.io/badge/Bitcoin-tip%20me-f7931a.svg?logo=bitcoin" alt="Tip Me via Bitcoin" /> | ||
</a> | ||
<iframe src="https://ghbtns.com/github-btn.html?user=kitian616&repo=jekyll-TeXt-theme&type=star&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe> | ||
</div> | ||
{%- if _lang == 'zh' -%} | ||
<div class="article__content my-3"> | ||
<hr /> | ||
<p><strong>你的支持是我的动力。你可以通过以下方式支持我:</strong></p> | ||
<ul> | ||
<li>给该项目点赞 <a style="vertical-align: text-bottom;" href="https://github.com/kitian616/jekyll-TeXt-theme/"> | ||
<img src="https://img.shields.io/github/stars/kitian616/jekyll-TeXt-theme.svg?label=Stars&style=social" alt="给该项目点赞" /> | ||
</a></li> | ||
<li>赞同<a href="https://www.zhihu.com/question/20223939/answer/122596506">这个知乎回答</a></li> | ||
<li>关注我的 Github <a style="vertical-align: text-bottom;" href="https://github.com/kitian616/"> | ||
<img src="https://img.shields.io/github/followers/kitian616.svg?label=Follow&style=social" alt="关注我的 Github" /> | ||
</a></li> | ||
<li>打赏</li> | ||
</ul> | ||
<table> | ||
<thead><tr> | ||
<th>微信支付</th> | ||
<th>支付宝</th> | ||
</tr></thead> | ||
<tbody><tr> | ||
<td><img style="max-widht: 150px; max-height: 150px" src="https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/tip_wechat.jpg" alt="微信支付二维码" /></td> | ||
<td><img style="max-widht: 150px; max-height: 150px" src="https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/tip_alipay.jpg" alt="支付宝二维码" /></td> | ||
</tr></tbody> | ||
</table> | ||
</div> | ||
|
||
{%- else -%} | ||
<div class="my-3"> | ||
<div class="my-2"><a href="https://www.paypal.me/kitian616"> | ||
<img src="https://img.shields.io/badge/PayPal-tip%20me-1462ab.svg?logo=paypal" alt="Tip Me via PayPal" /></a> | ||
<a href="https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/3Fkufxcw2xd8HnaRJBNK4ccdtkUDyyNu4V.jpg"> | ||
<img src="https://img.shields.io/badge/Bitcoin-tip%20me-f7931a.svg?logo=bitcoin" alt="Tip Me via Bitcoin" /></a> | ||
<div>BTC: <code>3Fkufxcw2xd8HnaRJBNK4ccdtkUDyyNu4V</code></div> | ||
</div> | ||
<div><a href="https://github.com/kitian616/jekyll-TeXt-theme/"> | ||
<img src="https://img.shields.io/github/stars/kitian616/jekyll-TeXt-theme.svg?label=Stars&style=social" alt="Star This Project" /></a></div> | ||
</div> | ||
{%- endif -%} | ||
{%- endif -%} | ||
<!-- end custom article top snippet --> | ||
<!-- end custom article footer snippet --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters