feat: align avatar and site name
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 4s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Merge (push) Successful in 6s
Blog Deployment / Deploy-Production (push) Successful in 9s
Blog Deployment / Test-Production (push) Successful in 3s
Blog Deployment / Deploy-Staging (push) Successful in 8s
Blog Deployment / Test-Staging (push) Successful in 2s
Blog Deployment / Clean (push) Has been skipped

This commit is contained in:
2025-06-10 12:53:56 +00:00
parent 86fd5e7567
commit 195978b948

View File

@@ -18,7 +18,7 @@
{{ if $avatar }} {{ if $avatar }}
{{ $avatarResized := $avatar.Resize "300x" }} {{ $avatarResized := $avatar.Resize "300x" }}
<img src="{{ $avatarResized.RelPermalink }}" width="{{ $avatarResized.Width }}" <img src="{{ $avatarResized.RelPermalink }}" width="{{ $avatarResized.Width }}"
height="{{ $avatarResized.Height }}" class="site-logo" loading="lazy" alt="Avatar"> height="{{ $avatarResized.Height }}" class="site-logo" allign="center" loading="lazy" alt="Avatar">
{{ else }} {{ else }}
{{ errorf "Failed loading avatar from %q" . }} {{ errorf "Failed loading avatar from %q" . }}
{{ end }} {{ end }}
@@ -32,7 +32,7 @@
{{ end }} {{ end }}
<div class="site-meta"> <div class="site-meta">
<h1 class="site-name"><a href="{{ .Site.BaseURL | relLangURL }}">{{ .Site.Title }}</a></h1> <h1 class="site-name" allign="center"><a href="{{ .Site.BaseURL | relLangURL }}">{{ .Site.Title }}</a></h1>
<h2 class="site-description">{{ .Site.Params.sidebar.subtitle }}</h2> <h2 class="site-description">{{ .Site.Params.sidebar.subtitle }}</h2>
</div> </div>
</header> </header>