1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-11-09 14:31:51 +00:00

Tweak homepage's title

This commit is contained in:
Tixie Salander 2023-07-24 15:14:51 +02:00
parent 97b24878bc
commit 6e716d74d8

View file

@ -1,6 +1,6 @@
{{ define "metaTitle" }} {{ define "metaTitle" }}
{{ $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 {{ .Site.Params.author.name }}{{ else }}{{ .Site.Title }} ∴ Albums (Page {{ $paginator.PageNumber }}) {{ end }}</title> <title>{{ if (not $paginator.HasPrev) }}{{ .Site.Title }} ∴ {{ .Site.Params.author.name }}'s Handpicked Albums Collection{{ 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) }} {{ if (not $paginator.HasPrev) }}
<link rel="preload" href="/images/illustration.svg" as="image" type="image/svg+xml" /> <link rel="preload" href="/images/illustration.svg" as="image" type="image/svg+xml" />