Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add monero reward support #2199

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions languages/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,6 @@ reward:
wechatpay: WeChat Pay
alipay: Alipay
bitcoin: Bitcoin
monero: Monero

gitmentbutton: Show comments from Gitment
1 change: 1 addition & 0 deletions languages/zh-Hans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,6 @@ reward:
wechatpay: 微信支付
alipay: 支付宝
bitcoin: 比特币
monero: 门罗币

gitmentbutton: 显示 Gitment 评论
7 changes: 7 additions & 0 deletions layout/_macro/reward.swig
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
<p>{{ __('reward.bitcoin') }}</p>
</div>
{% endif %}

{% if theme.monero %}
<div id="monero" style="display: inline-block">
<img id="monero_qr" src="{{ theme.monero }}" alt="{{ theme.author }} {{ __('reward.monero') }}"/>
<p>{{ __('reward.monero') }}</p>
</div>
{% endif %}

</div>
</div>