diff options
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c91cd5ae..dcdf2ae6 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -17,7 +17,7 @@ <meta property="og:title" content="{{ .Page.Title }}" /> <meta property="og:type" content="website" /> - <meta property="og:url" content="{{ .Page.Permalink }}" /> + <meta property="og:url" content="{{ .Permalink }}" /> {{- $imageUrl := default "logo.png" .Params.image }} {{- $image := resources.Get $imageUrl }} <meta property="og:image" content="{{ $image.Permalink }}" /> @@ -28,7 +28,7 @@ <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:description" content="{{ .Page.Summary }}" /> - <link rel="canonical" href="{{ .Site.BaseURL }}"> + <link rel="canonical" href="{{ .Permalink }}"> <link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'> <meta name="robots" content="index, follow"> {{ if isset .Params "tags" }}<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">{{end}} |