Revert "use pdr's contributor edits"

This reverts commit d539cce6ec.
This commit is contained in:
Luke Smith
2026-08-29 00:00:01 +02:00
parent d539cce6ec
commit 7a57cef33e
2 changed files with 27 additions and 28 deletions
+5
View File
@@ -0,0 +1,5 @@
{
"name": "mttwdevelops",
"website": "https://github.com/mttwdevelops",
"xmr": "46ZkjzFHDFZfys75kQ1dYw52rZPG2a1amAmV39itnRuSfoqGg3bWXdtWRs5EDzq2z1giqNiK971dQBz216C2PywJRNB1rz8"
}
+22 -28
View File
@@ -1,31 +1,25 @@
{{ with .Params.author }}
{{ $author := index hugo.Data.authors . }}
{{ $author := index hugo.Data.authors (.Params.author | default "default") }}
{{- if $author -}}
<h2>Contributor(s)</h2>
<ul>
{{ with $author }}
<li>
{{- if $author.website -}}
<a href="{{ $author.website }}">{{ $author.name }}</a>
{{ else }}
{{ $author.name }}
{{- end -}}
<ul id="donation">
{{- if $author.xmr }}
<li><img alt="XMR Logo" src="/pix/xmr.svg">Monero: <code>{{ $author.xmr }}</code></li>
{{- end -}}
{{- if $author.btc }}
<li><img src="/pix/btc.svg" alt="BTC Logo">Bitcoin: <code>{{ $author.btc }}</code></li>
{{- end -}}
{{- if $author.eth }}
<li><img src="/pix/eth.svg" alt="ETH Logo">Ether: <code>{{ $author.eth }}</code></li>
{{- end -}}
{{- if $author.donate }}
<li><a href="{{ $author.donate }}">Donate/Tip</a></li>
{{- end -}}
</ul>
</li>
{{ else }}
<li>{{ . }}</li>
{{- end -}}
<li>
{{- if $author.website -}}<a href="{{ $author.website }}">{{- end -}}
{{ $author.name }}
{{- if $author.website -}}</a>{{- end -}}
<ul>
{{- if $author.xmr }}
<li><img alt="XMR Logo" src="/pix/xmr.svg">Monero: <code style="overflow-wrap:break-word;font-size:xx-small">{{ $author.xmr }}</code></li>
{{- end -}}
{{- if $author.btc }}
<li><img src="/pix/btc.svg" alt="BTC Logo">Bitcoin: <code>{{ $author.btc }}</code></li>
{{- end -}}
{{- if $author.eth }}
<li><img src="/pix/eth.svg" alt="ETH Logo">Ether: <code>{{ $author.eth }}</code></li>
{{- end -}}
{{- if $author.donate }}
<li><a href="{{ $author.donate }}">Donate/Tip</a></li>
{{- end -}}
</ul>
{{ end }}
</li>
</ul>
{{- end -}}