diff options
author | Tomoyuki Hata <hato6502@gmail.com> | 2020-12-29 05:18:39 +0300 |
---|---|---|
committer | Tomoyuki Hata <hato6502@gmail.com> | 2020-12-29 05:18:39 +0300 |
commit | 499b6763e0d3e166ee8932ad36e27b5d56d99cd6 (patch) | |
tree | f5892e6ed6cb495091f8cb21c8e9aff164f071d1 | |
parent | a3dad441de56279c26f0fd6b377ab270988765be (diff) |
Use article image instead of default OGP image
-rw-r--r-- | layouts/partials/head.html | 6 |
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 |