1
0
Fork 0
mirror of https://github.com/GuerillaHQ/now-playing synced 2024-06-27 14:01:35 +00:00

preload homepage illustration

This commit is contained in:
Tixie 2023-02-21 22:04:00 +01:00
parent 0c051d4d82
commit fabac990b1

View file

@ -2,6 +2,9 @@
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" "a") }}
<title>{{ if (not $paginator.HasPrev) }}{{ .Site.Title }} ∴ Handpicked Albums by Guérilla.Studio{{ else }}{{ .Site.Title }} ∴ Albums (Page {{ $paginator.PageNumber }}) {{ end }}</title>
<meta name="description" content="{{ .Site.Params.description }}">
{{ if (not $paginator.HasPrev) }}
<link rel="preload" href="/images/illustration.svg" as="image" type="image/svg+xml" />
{{ end }}
{{ end }}
{{ define "main" }}
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" "a") }}