diff options
author | Vicky Lai <vicky@vickylai.io> | 2018-04-05 19:50:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-05 19:50:04 +0300 |
commit | d385cd02604fb022ced6038399b9a36478a9f679 (patch) | |
tree | 1942f9f1a86717eeab4d885b6f1acd6dd7f8114b | |
parent | 8b8c7653e360265d34b1cf99e0f475842fcbe423 (diff) | |
parent | f0ace146e7e23bd86aa41085fca12ddb7c764ec3 (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.html | 4 |
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> |