mirror of
https://github.com/GuerillaStudio/now-playing
synced 2024-11-29 23:41:40 +00:00
single page: Make description more accurate
This commit is contained in:
parent
55de5664c3
commit
f9aa3e8187
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
{{ define "metaTitle" }}
|
{{ define "metaTitle" }}
|
||||||
<title>{{ .Title }} ∴ {{ .Site.Title }}</title>
|
<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 }}
|
{{ end }}
|
||||||
{{ define "metaSocial" }}
|
{{ define "metaSocial" }}
|
||||||
{{ $original := resources.Get .Params.cover }}
|
{{ $original := resources.Get .Params.cover }}
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
<!-- opengraph -->
|
<!-- opengraph -->
|
||||||
<meta property="og:type" content="music.album">
|
<meta property="og:type" content="music.album">
|
||||||
<meta property="og:title" content="{{ .Title }} by {{ .Params.artist }}">
|
<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:url" content="{{ .Permalink }}">
|
||||||
<meta property="og:image" content="{{ $cover.Permalink }}">
|
<meta property="og:image" content="{{ $cover.Permalink }}">
|
||||||
<meta property="og:image:height" content="1000">
|
<meta property="og:image:height" content="1000">
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
<!-- twitter card -->
|
<!-- twitter card -->
|
||||||
<meta name="twitter:card" content="summary" />
|
<meta name="twitter:card" content="summary" />
|
||||||
<meta name="twitter:title" content="{{ .Title }} by {{ .Params.artist }}" />
|
<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 }}" />
|
<meta name="twitter:image" content="{{ $cover.Permalink }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
|
Loading…
Reference in a new issue