mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-09 04:29:21 +00:00
Merge pull request #3118 from nourkagha/kofi-integration
✨ Add Ko-fi integration
This commit is contained in:
20 files changed
+94
-22
No files matched your search
@@ -5,8 +5,12 @@
|
||||
{{ end }}
|
||||
|
||||
{{ $needAvoidCoffee := ne $coffeeIsRight $isRTL }}
|
||||
{{ $toTopYOffset := cond $needAvoidCoffee "bottom-24" "bottom-6" }}
|
||||
|
||||
{{ $kofiEnabled := .Site.Params.kofi.globalWidget | default false }}
|
||||
{{ $needAvoidKofi := and $kofiEnabled $isRTL }}
|
||||
{{ $needExtraOffset := or $needAvoidCoffee $needAvoidKofi }}
|
||||
|
||||
{{ $toTopYOffset := cond $needExtraOffset "bottom-24" "bottom-6" }}
|
||||
|
||||
<div
|
||||
id="scroll-to-top"
|
||||
|
||||
Reference in new issue
Block a user