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

github.com/themefisher/bigspring-hugo-startup-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan <58769763+developer-evan@users.noreply.github.com>2020-12-29 07:05:47 +0300
committerGitHub <noreply@github.com>2020-12-29 07:05:47 +0300
commitcf98980bcd34c43991cfb2873d237351d3d6bbc1 (patch)
treef5892e6ed6cb495091f8cb21c8e9aff164f071d1
parenta3dad441de56279c26f0fd6b377ab270988765be (diff)
parent499b6763e0d3e166ee8932ad36e27b5d56d99cd6 (diff)
Merge pull request #16 from hata6502/fix-article-ogp-image
Use article image instead of default OGP image
-rw-r--r--layouts/partials/head.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 5b6e898..fd7a43f 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -22,11 +22,11 @@
<link rel="icon" href="{{ `images/favicon.png` | absURL }}" type="image/x-icon">
- {{ with .Params.Image }}
- <meta property="og:image" content="{{ . | absURL }}" />
- {{ end }}
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/google_analytics.html" . }}
{{ template "_internal/google_analytics_async.html" . }}
+ {{ with .Params.Image }}
+ <meta property="og:image" content="{{ . | absURL }}" />
+ {{ end }}
</head> \ No newline at end of file