fix layout

This commit is contained in:
sakrecoer 2026-08-17 00:56:01 +02:00
parent 568e4045c5
commit 52a7104808

View file

@ -1,5 +1,4 @@
{{ define "header" }}
{{ $displayName := "" }}
{{ $name := "" }}
{{ $picture := "" }}
@ -39,7 +38,6 @@
{{ end }}
<!-- Main Header -->
<header class="playlist-header" style="min-height: unset;max-height:25vh;">
<!-- Background image -->
@ -57,17 +55,19 @@
<div class="header-content">
<div class="header-profile">
{{ if $picture }}
<a href="/playlists" alt="home page"><img src="{{ $picture }}" alt="{{ $displayName }}'s profile picture'" class="profile-picture" loading="lazy"></a>
<a href="/playlists/" alt="home page"><img src="{{ $picture }}" alt="{{ $displayName }}'s profile picture'" class="profile-picture" loading="lazy"></a>
{{ end }}
</div>
</div>
</header>
{{ end }}
{{ end }}
{{ define "main" }}
{{ $name := .Title }}
{{ $description := .Params.playlist_description | default "" }}