valor/layouts/partials/profile.html
2022-09-16 16:04:52 -04:00

40 lines
No EOL
1 KiB
HTML

<main id="profile">
<div>
<a href="/">
<img id='profilephoto' loading="lazy" src="{{.Site.Params.default_img}}">
</a>
<div id="profile-details">
<a href="/"><h1>{{.Site.Title}}</h1></a>
<p>{{.Site.Params.subtitle}}</p>
{{ if .Site.Data.details.links }}
<div id="profile-links">
{{range .Site.Data.details.links}}
<a href="{{.linkurl}}">{{.linkname}}</a><br>
{{end}}
</div>
{{end}}
</div>
</div>
{{partial "nav" .}}
{{ if .Content}}
<article>
{{.Content}}
</article>
{{end}}
{{ if .GetTerms "tags" }}
<div class="post-tags">
<span>Tags:</span>
{{range .GetTerms "tags" }}
<a href="{{.Permalink}}">{{.LinkTitle}}</a>
{{end}}
</div>
{{end}}
<div>
<p><a href="https://codeberg.org/gabe/Valor">Valor</a> made by <a href="https://gabe.rocks">Gabriel</a></p>
</div>
</main>