-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
Only support desktop currently.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
<footer class="footer-fixed<%- is_home() ? ' index-footer-fixed' : '' %>"> | ||
<!-- back to top button --> | ||
<div class="footer-fixed-element"> | ||
<%_ if(theme.float_button_theme === 'rounded') { _%> | ||
<div class="back-top back-top-hidden back-top-rounded"> | ||
<%_ } else { _%> | ||
<div class="back-top back-top-hidden"> | ||
<%_ } _%> | ||
<%_ if(theme.float_button_theme === 'rounded') { _%> | ||
<i class="fas fa-chevron-up"></i> | ||
<%_ } else { _%> | ||
<div></div> | ||
<%_ } _%> | ||
</div> | ||
</div> | ||
</footer> | ||
<footer class="footer-fixed<%- is_home() ? ' index-footer-fixed' : '' %>"> | ||
<!-- donate button --> | ||
<%_ if(is_post() && ((theme.donate.enable && page.donate !== false) || page.donate === true)) { _%> | ||
<%- partial('donate-popup') %> | ||
<div | ||
title="Donate to the author" | ||
class="footer-fixed-btn footer-fixed-btn--hidden<%- theme.float_button_theme === 'rounded' ? ' footer-fixed-btn--rounded' : '' %> donate-btn" | ||
> | ||
<i class="fas fa-donate"></i> | ||
</div> | ||
<%_ } _%> | ||
|
||
<!-- back to top button --> | ||
<div class="footer-fixed-btn footer-fixed-btn--hidden<%- theme.float_button_theme === 'rounded' ? ' footer-fixed-btn--rounded' : '' %> back-top"> | ||
<%_ if(theme.float_button_theme === 'rounded') { _%> | ||
<i class="fas fa-chevron-up"></i> | ||
<%_ } else { _%> | ||
<div></div> | ||
<%_ } _%> | ||
</div> | ||
</footer> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div class="donate-popup donate-popup--hidden"> | ||
<div class="donate-popup__title"><%- theme.donate.title %></div> | ||
<div class="donate-popup__content"> | ||
<div class="donate-popup__content-description"><%- theme.donate.description %></div> | ||
<%_ theme.donate.qr_code.forEach((qrCode) => { _%> | ||
<img | ||
class="donate-popup__content-qrCode" | ||
title="<%- qrCode.alt %>" | ||
alt="<%- qrCode.alt %>" | ||
src="<%- url_for(qrCode.url) %>" | ||
></img> | ||
<%_ }) _%> | ||
</div> | ||
</div> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.