diff options
author | Evan <58769763+developer-evan@users.noreply.github.com> | 2020-12-29 07:05:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 07:05:47 +0300 |
commit | cf98980bcd34c43991cfb2873d237351d3d6bbc1 (patch) | |
tree | f5892e6ed6cb495091f8cb21c8e9aff164f071d1 | |
parent | a3dad441de56279c26f0fd6b377ab270988765be (diff) | |
parent | 499b6763e0d3e166ee8932ad36e27b5d56d99cd6 (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.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 |