Explorar el Código

minor update

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

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

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

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

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

Cargando…
Cancelar
Guardar