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:
authorTomoyuki Hata <hato6502@gmail.com>2020-12-29 05:18:39 +0300
committerTomoyuki Hata <hato6502@gmail.com>2020-12-29 05:18:39 +0300
commit499b6763e0d3e166ee8932ad36e27b5d56d99cd6 (patch)
treef5892e6ed6cb495091f8cb21c8e9aff164f071d1
parenta3dad441de56279c26f0fd6b377ab270988765be (diff)
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