Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pravin/hugo-theme-prav.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Rosenshein <leonrosn@amazon.com>2022-05-04 21:04:07 +0300
committerLeon Rosenshein <leonrosn@amazon.com>2022-05-04 21:04:07 +0300
commitdef8b88cc756bfde8024b2492cf23c5877e0d61b (patch)
tree986b4270e302aa67c6bd588de5fc2c85c9658482
parent43215abbf1929047f20863313b4faba7b7189359 (diff)
Fix image URL to be absolute
-rw-r--r--layouts/partials/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 5f362e3..0aaf630 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -56,7 +56,7 @@
<meta name="twitter:card" content="summary">
<meta property=”og:type” content=”blog”>
<meta property="og:description" content="{{ $descText }}">
- <meta property="og:image" content="http://friendgineers.rosenshein.org{{ $imageLink }}">
+ <meta property="og:image" content="{{ $imageLink | absURL }}">
<meta name="author" content="{{ .Site.Params.Author }}">
{{ if not .IsHome -}}