From fd2dc1f7714681c5e10bf26486c2ec773ee7cf0c Mon Sep 17 00:00:00 2001 From: Jacob Lindahl Date: Thu, 20 Jun 2024 19:19:55 +0900 Subject: [PATCH] feat: payment identifiers --- config.toml | 12 ++++++++++++ layouts/partials/footer.html | 7 +++++++ 2 files changed, 19 insertions(+) diff --git a/config.toml b/config.toml index e357ba9..1e8e988 100644 --- a/config.toml +++ b/config.toml @@ -21,6 +21,18 @@ name = "Jacob Lindahl" host = "plausible.c0d3r.dev" domain = "geeklaunch.io" +[[params.payment]] +name = "BTC" +identifier = "bc1qepmfn0z26tfhc5uys49t3mthgh5q6hat4kp7hf" + +[[params.payment]] +name = "ETH" +identifier = "0xA65E766783C23A230A69281BE33B0Aa765008606" + +[[params.payment]] +name = "XMR" +identifier = "89LKw5TZx6qiBfDFMzp8nK1ZnmvRvQzGceHAwGSu1TAH6b88imhBZApJpBS85RYbxebhnMpCEVT6BA85gWZV5ZGo1FZhJoP" + [markup.goldmark.renderer] unsafe = true diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5bcf95e..ad30e96 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -5,6 +5,13 @@

{{ end }}

© Copyright {{ now.Format "2006" }} {{ .Site.Copyright }}.

+ {{ if isset .Site.Params "payment" }} +

+ {{ range .Site.Params.payment }} + {{ .name }} {{ .identifier }}
+ {{ end }} +

+ {{ end }}