Commit 1478cc8e authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Make social meta images use absolute URLs

Towards #137
parent 18180177
......@@ -7,8 +7,8 @@
{{- with .GetMatch "{social,thumbnail}{.jpg,.png,.jpeg}" }}
{{- $image := .Fill "1200x600" }}
<meta property='twitter:card' content='summary_large_image'>
<meta property='og:image' content='{{ $image.RelPermalink }}'>
<meta property='twitter:image' content='{{ $image.RelPermalink }}'>
<meta property='og:image' content='{{ $image.Permalink }}'>
<meta property='twitter:image' content='{{ $image.Permalink }}'>
{{- /* using the page’s altText frontmatter parameter if present: */}}
{{- with $.Params.altText }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment