valor/layouts/partials/profile.html

51 lines
1.4 KiB
HTML
Raw Normal View History

2022-08-17 14:47:54 -04:00
<main id="profile">
<div>
{{ if .Site.Params.logo}}
2022-09-17 19:22:44 -04:00
<a href="{{.Site.BaseURL}}">
<img id="profilephoto" src="{{.Site.Params.logo}}">
</a>
{{end}}
2022-09-15 17:12:31 -04:00
<div id="profile-details">
<a href="{{.Site.BaseURL}}">
<h1>{{.Site.Title}}</h1>
</a>
{{if .Site.Params.subtitle}}
2022-09-16 16:04:52 -04:00
<p>{{.Site.Params.subtitle}}</p>
{{end}}
2022-09-15 17:12:31 -04:00
</div>
{{ if .Site.Params.rss}}
<a href="{{.Site.Params.rss}}">
<svg class="icon icon-mid">
<use href="#rss"></use>
</svg>
</a>
{{else}}
<a href="{{.Site.BaseURL}}/index.xml">
<svg class="icon icon-mid">
<use href="#rss"></use>
</svg>
</a>
2022-08-17 14:47:54 -04:00
{{end}}
</div>
{{partial "nav" .}}
<hr>
{{ if .Content}}
<article>
{{.Content}}
{{ if .GetTerms "tags" }}
<div class="post-tags">
<span>Tags:</span>
{{range .GetTerms "tags" }}
<a href="{{.Permalink}}">{{.LinkTitle}}</a>
{{end}}
</div>
{{end}}
</article>
{{end}}
2023-03-07 02:04:00 -05:00
<p><a href="https://code.gabe.rocks/gabrfiel/Valor">Valor</a> made by <a href="https://gabe.rocks">Gabriel</a></p>
2022-09-15 17:12:31 -04:00
2022-08-17 14:47:54 -04:00
</main>