summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
blob: f7139882070cc95b0c4487f70b4e860cabc52e2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{{ partial "header.html" . }}

<header><h1>{{ .Title }}</h1></header>

{{ .Content }}

{{ $author := index .Site.Data.authors (.Params.author | default "default") }}
{{- if $author -}}
<h2>Agregado por:</h2>
<ul>
<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 }}">Donar/Tip</a></li>
{{- end -}}
</ul>
</li>
</ul>
{{- end -}}

{{ partial "footer.html" . }}