fix: remove duplicate title template
This commit is contained in:
1 file changed
+2
-2
@@ -22,7 +22,7 @@
|
||||
<!-- Open Graph / Facebook -->
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="{{ .Permalink }}">
|
||||
<meta property="og:title" content="{{ block "title" . }}{{ .Site.Title }}{{ end }}">
|
||||
<meta property="og:title" content="{{ if .Title }}{{ .Title }} | {{ .Site.Title }}{{ else }}{{ .Site.Title }}{{ end }}">
|
||||
<meta property="og:description" content="{{ .Site.Params.description }}">
|
||||
<meta property="og:image" content="{{ .Site.BaseURL }}og.png">
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}">
|
||||
@@ -30,7 +30,7 @@
|
||||
<!-- Twitter -->
|
||||
<meta property="twitter:card" content="summary_large_image">
|
||||
<meta property="twitter:url" content="{{ .Permalink }}">
|
||||
<meta property="twitter:title" content="{{ block "title" . }}{{ .Site.Title }}{{ end }}">
|
||||
<meta property="twitter:title" content="{{ if .Title }}{{ .Title }} | {{ .Site.Title }}{{ else }}{{ .Site.Title }}{{ end }}">
|
||||
<meta property="twitter:description" content="{{ .Site.Params.description }}">
|
||||
<meta property="twitter:image" content="{{ .Site.BaseURL }}og.png">
|
||||
<style>
|
||||
|
||||
Reference in new issue
Block a user