Browse Source

minor update

pull/141/head
abhidj0090 4 years ago
parent
commit
a2e6cd2bd2
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      layouts/partials/head.html

+ 2
- 2
layouts/partials/head.html View File

@@ -12,9 +12,9 @@

{{ $url := .Site.BaseURL }}
{{ template "_internal/opengraph.html" . }}
<meta name="og:image" content="{{ with .Params.image }}{{$url}}{{ . }}{{ else }}{{$url}}{{ `images/Cover.jpg` }}{{end}}">
<meta name="og:image" content="{{ with .Params.image }}{{ . | absURL }}{{ else }}{{ `images/Cover.jpg` | absURL}}{{end}}">
{{ template "_internal/twitter_cards.html" . }}
<meta name="twitter:image" content="{{ with .Params.image }}{{$url}}{{ . }}{{ else }}{{$url}}{{ `images/Cover.jpg`}}{{end}}">
<meta name="twitter:image" content="{{ with .Params.image }}{{ . | absURL}}{{ else }}{{ `images/Cover.jpg` | absURL}}{{end}}">

<link rel="canonical" href="{{ .Permalink }}">

Loading…
Cancel
Save