mirror of https://github.com/IoTcat/kayo.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
753 B
19 lines
753 B
{%- if (theme.reward.enable and page.reward !== false) or page.reward === true -%} |
|
<div class="post-reward"> |
|
<input type="checkbox" name="reward" id="reward" hidden /> |
|
<label class="reward-button" for="reward">{{ __('posts.reward') }}</label> |
|
<div class="qr-code"> |
|
{%- set qrCode = theme.reward.qrCode -%} |
|
{%- if qrCode.wechat -%} |
|
<label class="qr-code-image" for="reward"> |
|
<img class="image" src="{{url_for(qrCode.wechat)}}" title="wechat"> |
|
</label> |
|
{%- endif -%} |
|
{%- if qrCode.alipay -%} |
|
<label class="qr-code-image" for="reward"> |
|
<img class="image" src="{{url_for(qrCode.alipay)}}" title="alipay"> |
|
</label> |
|
{%- endif -%} |
|
</div> |
|
</div> |
|
{%- endif -%} |