Commit 7a6f822c authored by Sylvain Kerkour's avatar Sylvain Kerkour

layout: Add author meta to head

parent 0e5d18b5
Pipeline #147418261 passed with stages
in 58 seconds
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#343a40" />
<meta name="theme-color" content="#343a40" />
<meta name="msapplication-TileColor" content="#343a40" />
<meta name="apple-mobile-web-app-status-bar-style" content="#343a40">
<meta name="theme-color" content="#343a40">
<meta name="msapplication-TileColor" content="#343a40">
<link rel="shortcut icon" href="{{ "imgs/favicon.png" | relURL }}"/>
<meta name="description" content="{{ .Site.Params.Description }}" />
<link rel="shortcut icon" href="{{ "imgs/favicon.png" | relURL }}">
<meta name="description" content="{{ .Site.Params.Description }}">
<meta name="author" content="Sylvain Kerkour">
<!-- SOCIAL -->
<meta name="og:title" property="og:title" content="{{ .Site.Title }}" />
<meta name="og:description" property="og:description" content="{{ .Site.Params.Description }}" />
<meta name="og:type" property="og:type" content="website" />
<meta name="og:url" property="og:url" content="{{ .Site.BaseURL }}" />
<meta name="og:title" property="og:title" content="{{ .Site.Title }}">
<meta name="og:description" property="og:description" content="{{ .Site.Params.Description }}">
<meta name="og:type" property="og:type" content="website">
<meta name="og:url" property="og:url" content="{{ .Site.BaseURL }}">
<meta name="og:image" property="og:image" content="{{ .Site.BaseURL }}/imgs/og_image.jpg">
<!-- <meta name="twitter:card" property="twitter:card" content="summary_large_image"> -->
......@@ -26,20 +27,20 @@
<meta name="twitter:description" property="twitter:description" content="{{ .Site.Params.Description }}">
<meta name="twitter:image" property="twitter:image" content="{{ .Site.BaseURL }}/imgs/og_image.jpg">
<link rel="canonical" href="{{ .Permalink }}" />
<link rel="alternate" hreflang="en" href="{{ .Permalink }}" />
<link rel="alternate" hreflang="x-default" href="{{ .Permalink }}" />
<link rel="canonical" href="{{ .Permalink }}">
<link rel="alternate" hreflang="en" href="{{ .Permalink }}">
<link rel="alternate" hreflang="x-default" href="{{ .Permalink }}">
<!-- FEEDS -->
{{ with .Site.GetPage "/" }}
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ end }}
{{ with .Site.GetPage "/" }}
{{ with .OutputFormats.Get "jsonfeed" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ end }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment