Add files via upload

Added lines related to buy me a coffee.
This commit is contained in:
suecream 2023-12-30 22:36:24 +09:00 committed by GitHub
parent b8abd69c4d
commit a1dc205480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@
<a href="{{ $path | safeURL }}" title="{{ $name }}" aria-label="{{ $name }}" class="donation__item" target="_blank" rel="noreferrer" data-type="donation"> <a href="{{ $path | safeURL }}" title="{{ $name }}" aria-label="{{ $name }}" class="donation__item" target="_blank" rel="noreferrer" data-type="donation">
{{ partial (print "svgs/donation/" $name ".svg") (dict "width" 35 "height" 35) }} {{ partial (print "svgs/donation/" $name ".svg") (dict "width" 35 "height" 35) }}
</a> </a>
{{ else if in $name "buymeacoffee" }}
<a href="{{ $path | safeURL }}" title="{{ $name }}" aria-label="{{ $name }}" class="donation__item" target="_blank" rel="noreferrer" data-type="donation">
{{ partial (print "svgs/donation/" $name ".svg") (dict "width" 35 "height" 35) }}
</a>
{{ else }} {{ else }}
<div class="donation__item donation__dropup" title="{{ $name }}" aria-label="{{ $name }}" data-type="donation"> <div class="donation__item donation__dropup" title="{{ $name }}" aria-label="{{ $name }}" data-type="donation">
{{ partial (print "svgs/donation/" $name ".svg") (dict "width" 35 "height" 35) }} {{ partial (print "svgs/donation/" $name ".svg") (dict "width" 35 "height" 35) }}