mirror of
https://github.com/LukeSmithxyz/based.cooking.git
synced 2026-08-31 10:28:28 +01:00
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"name": "mttwdevelops",
|
||||||
|
"website": "https://github.com/mttwdevelops",
|
||||||
|
"xmr": "46ZkjzFHDFZfys75kQ1dYw52rZPG2a1amAmV39itnRuSfoqGg3bWXdtWRs5EDzq2z1giqNiK971dQBz216C2PywJRNB1rz8"
|
||||||
|
}
|
||||||
@@ -1,17 +1,14 @@
|
|||||||
{{ with .Params.author }}
|
{{ $author := index hugo.Data.authors (.Params.author | default "default") }}
|
||||||
{{ $author := index hugo.Data.authors . }}
|
{{- if $author -}}
|
||||||
<h2>Contributor(s)</h2>
|
<h2>Contributor(s)</h2>
|
||||||
<ul>
|
<ul>
|
||||||
{{ with $author }}
|
|
||||||
<li>
|
<li>
|
||||||
{{- if $author.website -}}
|
{{- if $author.website -}}<a href="{{ $author.website }}">{{- end -}}
|
||||||
<a href="{{ $author.website }}">{{ $author.name }}</a>
|
|
||||||
{{ else }}
|
|
||||||
{{ $author.name }}
|
{{ $author.name }}
|
||||||
{{- end -}}
|
{{- if $author.website -}}</a>{{- end -}}
|
||||||
<ul id="donation">
|
<ul>
|
||||||
{{- if $author.xmr }}
|
{{- if $author.xmr }}
|
||||||
<li><img alt="XMR Logo" src="/pix/xmr.svg">Monero: <code>{{ $author.xmr }}</code></li>
|
<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 -}}
|
{{- end -}}
|
||||||
{{- if $author.btc }}
|
{{- if $author.btc }}
|
||||||
<li><img src="/pix/btc.svg" alt="BTC Logo">Bitcoin: <code>{{ $author.btc }}</code></li>
|
<li><img src="/pix/btc.svg" alt="BTC Logo">Bitcoin: <code>{{ $author.btc }}</code></li>
|
||||||
@@ -24,8 +21,5 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
{{ else }}
|
|
||||||
<li>{{ . }}</li>
|
|
||||||
{{- end -}}
|
|
||||||
</ul>
|
</ul>
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user