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

github.com/joway/hugo-theme-yinyang.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoway.CI <joway.w@gmail.com>2022-04-28 08:51:19 +0300
committerJoway.CI <joway.w@gmail.com>2022-04-28 08:51:19 +0300
commit1c3bec670a42a96d12dc5773f336d7e672d1c28d (patch)
treef0fa80c882e980094f109c8ef5d870146d641d54
parentfe15a5323e28444547c4ab216e366494c1621ebc (diff)
style: add og imageHEADmaster
-rw-r--r--layouts/partials/head.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 2178d9a..d1083a1 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -37,6 +37,8 @@
<meta property="og:locale" content="{{ .Site.LanguageCode }}" />
{{- if .Params.album -}}
<meta property="og:image" content="{{ .Params.album }}" />
+ {{- else -}}
+ <meta property="og:image" content="{{ .Site.Params.favicon }}" />
{{ end }}
{{ with resources.Get "css/index.css" | minify }}