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" }} {{ define "header" }}
{{ $displayName := "" }} {{ $displayName := "" }}
{{ $name := "" }} {{ $name := "" }}
{{ $picture := "" }} {{ $picture := "" }}
@ -39,7 +38,6 @@
{{ end }} {{ end }}
<!-- Main Header --> <!-- Main Header -->
<header class="playlist-header" style="min-height: unset;max-height:25vh;"> <header class="playlist-header" style="min-height: unset;max-height:25vh;">
<!-- Background image --> <!-- Background image -->
@ -57,17 +55,19 @@
<div class="header-content"> <div class="header-content">
<div class="header-profile"> <div class="header-profile">
{{ if $picture }} {{ 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 }} {{ end }}
</div> </div>
</div> </div>
</header> </header>
{{ end }}
{{ end }}
{{ define "main" }} {{ define "main" }}
{{ $name := .Title }} {{ $name := .Title }}
{{ $description := .Params.playlist_description | default "" }} {{ $description := .Params.playlist_description | default "" }}