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:
-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 }}