<main id="profile">
    <div>
        <a href="{{.Site.BaseURL}}">
            <img id='profilephoto' loading="lazy" src="{{.Site.Params.default_img}}">
             </a>
        <div id="profile-details">
            <a href="{{.Site.BaseURL}}"><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>