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

github.com/hivickylai/hugo-theme-sam.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicky Lai <vicky@vickylai.io>2018-04-05 19:50:04 +0300
committerGitHub <noreply@github.com>2018-04-05 19:50:04 +0300
commitd385cd02604fb022ced6038399b9a36478a9f679 (patch)
tree1942f9f1a86717eeab4d885b6f1acd6dd7f8114b
parent8b8c7653e360265d34b1cf99e0f475842fcbe423 (diff)
parentf0ace146e7e23bd86aa41085fca12ddb7c764ec3 (diff)
Merge pull request #5 from crownsedge/ruth-opengraph-title-fixv1.1
Fix: OpenGraph/Twitter Card does not properly retrieve title from con…
-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 d1c12eb..d5b0640 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -15,7 +15,7 @@
<meta name="twitter:domain" content="{{.Site.BaseURL}}">
<!-- Min 120x120px-->
<meta name="twitter:image" content="{{ .Site.Params.primaryImage | default "tn.png" | absURL }}">
- <meta name="twitter:title" property="og:title" itemprop="title name" content="{{.Site.Params.title | default "Sam"}}">
+ <meta name="twitter:title" property="og:title" itemprop="title name" content="{{.Site.Title | default "Sam"}}">
<meta name="twitter:description" property="og:description" itemprop="description" content="{{.Site.Params.description | default "Call me Sam, a theme for Hugo."}}">
<meta name="og:type" content="website">
<meta name="og:url" content="{{.Site.BaseURL}}">
@@ -43,4 +43,4 @@
</head>
-</html> \ No newline at end of file
+</html>