Save wallet info in config instead of hardcoding

alternate-navbar
Maik de Kruif 4 years ago
parent 01633db96a
commit 24ef17cadb
Signed by: maik
GPG Key ID: 44A55AD1F0673FA6
  1. 5
      config.toml
  2. 6
      themes/maik-blog/layouts/partials/footer.html

@ -111,6 +111,11 @@ googleAnalytics = "UA-136337666-1"
alt = "Portrait" alt = "Portrait"
size = "175px" size = "175px"
# Wallets
[[params.wallets]]
name = "XMR"
address = "83cfsXGHPaW81hKJtAPYZEgbfFqANMTXXRwghsBpjf5oTDRV3BnCC4jFno8tLTnF4C6gJzGjPEmpvjntXaiGBB7kVitkDKi"
# Social icons # Social icons
[[params.social]] [[params.social]]
name = "email" name = "email"

@ -19,7 +19,11 @@
</span> </span>
</div> </div>
<div class="footer__content__section donations"> <div class="footer__content__section donations">
<span class="wallet"><span class="name">XMR:</span> <span class="address">87zSbhZgZZsW8Sfo2cHDEj8PLtaCLU4sYYEDXd5Kk9hWPg2ttqyvV2N8oTJz2kfiFc5ZyCFEkMqT37RNKcrzryTGKB7RSFi</span></span> {{- with .Site.Params.wallets }}
{{- range . }}
<span class="wallet"><span class="name">{{ .name }}:</span> <span class="address">{{ .address }}</span></span>
{{- end }}
{{- end }}
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save