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>2021-01-23 15:04:21 +0300
committerJoway.CI <joway.w@gmail.com>2021-01-23 15:04:21 +0300
commitc0447fdcb1451d58e7f7ad44fb7820ebaf04e435 (patch)
treeb1270f5bf7d7aaaad4e0b918412c2b90da4db335
parent13856b28664ea3c9d47bab995bb1e76b23fe1cdb (diff)
fix post title
-rw-r--r--layouts/partials/head.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 4a5a6b3..8437eb1 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -28,8 +28,8 @@
<meta property="og:description" content="{{ .Site.Params.description }}" />
<meta name="description" content="{{ .Site.Params.description }}" />
{{- else -}}
- <title>{{ .Title }} - {{ .Site.Title }}</title>
- <meta property="og:title" content="{{ .Title }} - {{ .Site.Title }}" />
+ <title>{{ .Title }}</title>
+ <meta property="og:title" content="{{ .Title }}" />
<meta property="og:type" content="article" />
<meta property="og:description" content="{{ default .Summary .Description }}" />
<meta name="description" content="{{ default .Summary .Description }}" />