Skip to content

Commit fd2dc1f

Browse files
committedJun 20, 2024
feat: payment identifiers
1 parent 3ec43a9 commit fd2dc1f

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
 

‎config.toml

+12
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,18 @@ name = "Jacob Lindahl"
2121
host = "plausible.c0d3r.dev"
2222
domain = "geeklaunch.io"
2323

24+
[[params.payment]]
25+
name = "BTC"
26+
identifier = "bc1qepmfn0z26tfhc5uys49t3mthgh5q6hat4kp7hf"
27+
28+
[[params.payment]]
29+
name = "ETH"
30+
identifier = "0xA65E766783C23A230A69281BE33B0Aa765008606"
31+
32+
[[params.payment]]
33+
name = "XMR"
34+
identifier = "89LKw5TZx6qiBfDFMzp8nK1ZnmvRvQzGceHAwGSu1TAH6b88imhBZApJpBS85RYbxebhnMpCEVT6BA85gWZV5ZGo1FZhJoP"
35+
2436
[markup.goldmark.renderer]
2537
unsafe = true
2638

‎layouts/partials/footer.html

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
</p>
66
{{ end }}
77
<p>&copy; Copyright {{ now.Format "2006" }} {{ .Site.Copyright }}.</p>
8+
{{ if isset .Site.Params "payment" }}
9+
<p class="f:10 f:monospace">
10+
{{ range .Site.Params.payment }}
11+
{{ .name }} {{ .identifier }}<br>
12+
{{ end }}
13+
</p>
14+
{{ end }}
815
<p id="browserMessage" style="display:none">This site is designed for <a target="_blank" rel="noopener noreferrer"
916
href="https://firefox.com/">Firefox</a>, a web
1017
browser that respects your privacy.</p>

0 commit comments

Comments
 (0)