1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-12-30 11:41:55 +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") }} {{ $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> <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 }}"> <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 }} {{ end }}
{{ define "main" }} {{ define "main" }}
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" "a") }} {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" "a") }}