mirror of
https://github.com/GuerillaStudio/now-playing
synced 2024-12-21 09:01:56 +00:00
preload homepage illustration
This commit is contained in:
parent
0c051d4d82
commit
fabac990b1
1 changed files with 3 additions and 0 deletions
|
@ -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") }}
|
||||||
|
|
Loading…
Reference in a new issue