<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="Rodolfo Henrique Carvalho's homepage">
  <meta name="author" content="Rodolfo Henrique Carvalho">
  <link rel="shortcut icon" href="favicon.ico">

  <title>
  {{- block "title" . -}}
    {{- .Site.Title -}}
  {{- end -}}
  </title>

  {{ block "extra-head" . }}
  {{ end }}
</head>
<body>
  {{ partial "header.html" . }}

  {{ block "main" . }}{{ end }}

</body>
</html>

<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="Rodolfo Henrique Carvalho's homepage">
  <meta name="author" content="Rodolfo Henrique Carvalho">
  <link rel="shortcut icon" href="favicon.ico">
  <link rel="canonical" href="{{ .Permalink }}">

  <title>
  {{- block "title" . -}}
    {{- .Site.Title -}}
  {{- end -}}
  </title>

  {{ block "extra-head" . }}
  {{ end }}
</head>
<body>
  {{ partial "header.html" . }}

  {{ block "main" . }}{{ end }}

</body>
</html>

Add canonical reference to every page
Add canonical reference to every page

This helps with SEO, by telling search engines what is the canonical
address of a given page.

In practice, I have redirects from http://rodolfocarvalho.net (currently
shown in DuckDuckGo) -> https://www.rodolfocarvalho.net (the 'new'
canonical location).
