diff options
author | tdro <tdro@noreply.example.com> | 2022-05-05 07:52:44 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-05-05 07:52:44 -0400 |
commit | 4315eb22d0ba720c125343a61d135c94c5f89774 (patch) | |
tree | 9ed6381cf6f03a70f3dfce5e5a1a06eb901b2b5e /themes/default/layouts/partials/head.html | |
parent | 8a39d95af396b5d6d509b835d1b08846b371b257 (diff) | |
download | canory-4315eb22d0ba720c125343a61d135c94c5f89774.tar.gz canory-4315eb22d0ba720c125343a61d135c94c5f89774.tar.bz2 canory-4315eb22d0ba720c125343a61d135c94c5f89774.zip |
themes/default/layouts/partials/head: Set meta images
Select author image dynamically instead of slugged 404.
Diffstat (limited to 'themes/default/layouts/partials/head.html')
-rw-r--r-- | themes/default/layouts/partials/head.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/default/layouts/partials/head.html b/themes/default/layouts/partials/head.html index 8adc282..e45b5d6 100644 --- a/themes/default/layouts/partials/head.html +++ b/themes/default/layouts/partials/head.html @@ -12,13 +12,13 @@ <!-- Search Engine Tags --> <meta itemprop="name" content="{{ partial "site-title.html" . -}}"> <meta itemprop="description" content="{{ if .Params.summary }}{{ .Params.summary }}{{ else }}{{ .Summary }}{{ end }}"> -<meta itemprop="image" content="{{ .Site.BaseURL }}/images/{{ partial "meta-thumbnail-path.html" . }}.png"> +<meta itemprop="image" content="{{ .Site.BaseURL }}/{{ partial "author-media-path.html" . }}/profile/picture.png"> <!-- Open Graph Meta Tags --> <meta property="og:title" content="{{ partial "site-title.html" . -}}"> <meta property="og:description" content="{{- partial "site-description.html" . -}}"> <meta property="og:url" content="{{ .Permalink }}"> -<meta property="og:image" content="{{ .Site.BaseURL }}/images/{{ partial "meta-thumbnail-path.html" . }}.png"> +<meta property="og:image" content="{{ .Site.BaseURL }}/{{ partial "author-media-path.html" . }}/profile/picture.png"> <meta property="og:type" content="website"> <meta property="article:published_time" content="{{ .Params.PublishDate }}"> <meta property="article:modified_time " content="{{ .Params.LastMod }}"> @@ -27,7 +27,7 @@ <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:title" content="{{ partial "site-title.html" . -}}"> <meta name="twitter:description" content="{{- partial "site-description.html" . -}}"> -<meta name="twitter:image" content="{{ .Site.BaseURL }}/images/{{ partial "meta-thumbnail-path.html" . }}.png"> +<meta name="twitter:image" content="{{ .Site.BaseURL }}/{{ partial "author-media-path.html" . }}/profile/picture.png"> <!-- Progressive Enhancement --> {{- partial "manifest.html" . -}} |