Sfoglia il codice sorgente

minor update

pull/141/head
abhidj0090 4 anni fa
parent
commit
adb7e249f4
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3
    1
      layouts/partials/head.html

+ 3
- 1
layouts/partials/head.html Vedi File

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

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

{{ $url := .baseURL }}
<meta name="twitter:image" content="{{ with .Params.image }}{{$url}}{{ . }}{{ else }}{{$url}}{{ `images/Cover.jpg` | absURL }}{{end}}">

<link rel="canonical" href="{{ .Permalink }}">
{{ "<!-- plugins -->" | safeHTML }}

Loading…
Annulla
Salva