Kaynağa Gözat

minor update

pull/141/head
abhidj0090 4 yıl önce
ebeveyn
işleme
a2e6cd2bd2
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2
    2
      layouts/partials/head.html

+ 2
- 2
layouts/partials/head.html Dosyayı Görüntüle

@@ -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…
İptal
Kaydet