wrong link

This commit is contained in:
Gabriel 2023-12-13 03:23:05 -05:00
parent 6bd5d30a6e
commit d3649ef300

View file

@ -1,36 +1,23 @@
<section class="metadata" id="metadata" style="display:flex;flex-direction:column;flex-wrap:nowrap"> <section class="metadata" id="metadata" style="display:flex;flex-direction:column;flex-wrap:nowrap">
{{$author := index .Site.Data.details.staff (.Params.author | default "default")}} {{$author := index .Site.Data.details.staff (.Params.author | default "default")}}
<div style="flex-direction: row;align-items: flex-end;"> <div style="flex-direction: row;align-items: flex-end;">
<div> <div>
<a href="{{$author.url}}"> <a href="{{$author.url}}">
<img src="{{$author.image}}" style="max-width:64px;border-radius:64px;"> <img src="{{$author.image}}" style="max-width:64px;border-radius:64px;">
</a> </a>
<h2>{{$author.name}}</h2> <h2>{{$author.name}}</h2>
</div> </div>
<div style="justify-content: space-between;"> <div style="justify-content: space-between;">
<strong>Support</strong> <strong>Support</strong> {{ if $author.donate}}
{{ if $author.donate}} <a href="{{$author.donate}}">Donate</a> {{end}} {{ if $author.bitcoin}}
<a href="{{$author.donate}}">Donate</a> <a href="bitcoin:{{$author.bitcoin}}?label=Gabriel">Bitcoin</a> {{end}} {{ if $author.monero}}
{{end}} <a href="monero:{{$author.monero}}">Monero</a> {{end}}
{{ if $author.bitcoin}} </div>
<a href="bitcoin:{{$author.bitcoin}}?label=Gabriel">Bitcoin</a> <p>
{{end}} {{if .Date }}<strong>Published:</strong> <a href="{{.Permalink}}">{{.Date | time.Format "Jan 02 2006"}}</a> {{end}} {{if .Params.updated}}
{{ if $author.monero}} <br><strong>Updated:</strong> {{.Params.updated | time.Format "Jan 02 2006"}} {{end}} {{if .GetTerms "tags"}}<br>
<a href="monero:{{$author.monero}}">Monero</a> <strong>Tags:</strong> {{ range (.GetTerms "tags")}}
{{end}} <a href="{{.Permalink}}" class="tag">{{.LinkTitle}}</a> {{end}} {{end}}
</div> </p>
<p> </div>
{{if .Date }}<strong>Published:</strong> <a href="{{.Permalink}}#metadata">{{.Date | time.Format "Jan 02 2006"}}</a>
{{end}}
{{if .Params.updated}}
<br><strong>Updated:</strong> {{.Params.updated | time.Format "Jan 02 2006"}}
{{end}}
{{if .GetTerms "tags"}}<br>
<strong>Tags:</strong>
{{ range (.GetTerms "tags")}}
<a href="{{.Permalink}}" class="tag">{{.LinkTitle}}</a>
{{end}}
{{end}}
</p>
</div>
</section> </section>