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

single page: Make description more accurate

This commit is contained in:
Tixie 2024-01-05 19:44:32 +01:00 committed by GitHub
parent 55de5664c3
commit f9aa3e8187
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
{{ define "metaTitle" }}
<title>{{ .Title }} ∴ {{ .Site.Title }}</title>
<meta name="description" content="Listen to this album on Now Playing">
<meta name="description" content="Get links to listen to this album on Now Playing">
{{ end }}
{{ define "metaSocial" }}
{{ $original := resources.Get .Params.cover }}
@ -8,7 +8,7 @@
<!-- opengraph -->
<meta property="og:type" content="music.album">
<meta property="og:title" content="{{ .Title }} by {{ .Params.artist }}">
<meta property="og:description" content="Listen to this album on Now Playing">
<meta property="og:description" content="Get links to listen to this album on Now Playing">
<meta property="og:url" content="{{ .Permalink }}">
<meta property="og:image" content="{{ $cover.Permalink }}">
<meta property="og:image:height" content="1000">
@ -19,7 +19,7 @@
<!-- twitter card -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="{{ .Title }} by {{ .Params.artist }}" />
<meta name="twitter:description" content="Listen to this album on Now Playing" />
<meta name="twitter:description" content="Get links to listen to this album on Now Playing" />
<meta name="twitter:image" content="{{ $cover.Permalink }}" />
{{ end }}
{{ define "main" }}