valor/layouts/partials/profile.html

40 lines
1 KiB
HTML
Raw Normal View History

2022-08-17 14:47:54 -04:00
<main id="profile">
<div>
<a href="/">
2022-09-15 17:12:31 -04:00
<img id='profilephoto' loading="lazy" src="{{.Site.Data.details.profilephoto}}">
</a>
<div id="profile-details">
<a href="/"><h1>{{.Site.Data.details.name}}</h1></a>
2022-08-17 14:47:54 -04:00
<p>{{.Site.Data.details.bio}}</p>
2022-09-15 17:12:31 -04:00
{{ if .Site.Data.details.links }}
<div id="profile-links">
{{range .Site.Data.details.links}}
<a href="{{.linkurl}}">{{.linkname}}</a><br>
{{end}}
</div>
2022-08-17 14:47:54 -04:00
{{end}}
</div>
2022-09-15 17:12:31 -04:00
2022-08-17 14:47:54 -04:00
</div>
2022-09-15 17:12:31 -04:00
2022-08-17 14:47:54 -04:00
{{partial "nav" .}}
{{ if .Content}}
<article>
{{.Content}}
</article>
2022-09-02 07:03:53 -04:00
{{end}}
2022-09-15 17:12:31 -04:00
{{ if .GetTerms "tags" }}
<div class="post-tags">
<span>Tags:</span>
{{range .GetTerms "tags" }}
<a href="{{.Permalink}}">{{.LinkTitle}}</a>
{{end}}
</div>
{{end}}
2022-08-17 14:47:54 -04:00
<div>
2022-09-02 07:03:46 -04:00
<p><a href="https://codeberg.org/gabe/Valor">Valor</a> made by <a href="https://gabe.rocks">Gabriel</a></p>
2022-08-17 14:47:54 -04:00
</div>
</main>