fix layout
This commit is contained in:
parent
568e4045c5
commit
52a7104808
1 changed files with 4 additions and 4 deletions
|
|
@ -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 "" }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue