Explorar el Código

minor update

pull/141/head
abhidj0090 hace 4 años
padre
commit
967d121b37
Se han modificado 1 ficheros con 4 adiciones y 3 borrados
  1. 4
    3
      layouts/partials/head.html

+ 4
- 3
layouts/partials/head.html Ver fichero

@@ -10,11 +10,12 @@
<meta name="author" content="{{ . }}">{{ end }}
{{ hugo.Generator }}

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

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

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

Cargando…
Cancelar
Guardar