Skip to content

Commit

Permalink
feat: payment identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
encody committed Jun 20, 2024
1 parent 3ec43a9 commit fd2dc1f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 7 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
</p>
{{ end }}
<p>&copy; Copyright {{ now.Format "2006" }} {{ .Site.Copyright }}.</p>
{{ if isset .Site.Params "payment" }}
<p class="f:10 f:monospace">
{{ range .Site.Params.payment }}
{{ .name }} {{ .identifier }}<br>
{{ end }}
</p>
{{ end }}
<p id="browserMessage" style="display:none">This site is designed for <a target="_blank" rel="noopener noreferrer"
href="https://firefox.com/">Firefox</a>, a web
browser that respects your privacy.</p>
Expand Down

0 comments on commit fd2dc1f

Please sign in to comment.