mirror of
https://github.com/GuerillaStudio/now-playing
synced 2025-01-02 09:01:57 +00:00
add meta description
This commit is contained in:
parent
69e3405ab2
commit
f6ad10ef0a
3 changed files with 3 additions and 1 deletions
|
@ -4,11 +4,11 @@
|
|||
|
||||
{{ block "metaTitle" . }}
|
||||
<title>{{ .Title }}</title>
|
||||
<meta name="description" content="Handpicked Albums by the Glitch Family">
|
||||
{{ end }}
|
||||
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<base href="{{ if getenv "CONTEXT" }}{{ cond (eq "production" (getenv "CONTEXT")) (getenv "URL") (getenv "DEPLOY_PRIME_URL") }}{{ else }}{{ $.Site.BaseURL }}{{ end }}">
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{{ define "metaTitle" }}
|
||||
<title>{{ .Title }} ∴ {{ .Site.Title }}</title>
|
||||
<meta name="description" content="Listen to this album on Now Playing">
|
||||
{{ end }}
|
||||
{{ define "metaSocial" }}
|
||||
{{ $original := resources.Get .Params.cover }}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{{ define "metaTitle" }}
|
||||
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" "musics") }}
|
||||
<title>{{ if (not $paginator.HasPrev) }}{{ .Site.Title }} ∴ Handpicked Albums by the Glitch Family{{ else }}{{ .Site.Title }} ∴ Albums (Page {{ $paginator.PageNumber }}) {{ end }}</title>
|
||||
<meta name="description" content="Handpicked Albums by the Glitch Family">
|
||||
{{ end }}
|
||||
{{ define "main" }}
|
||||
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" "musics") }}
|
||||
|
|
Loading…
Reference in a new issue