Skip to content

Commit

Permalink
Merge pull request #2 from Nizzlay/canonical
Browse files Browse the repository at this point in the history
Add canonical tag for improved SEO (and prevents duplicate content if…
  • Loading branch information
Nizzlay authored Oct 7, 2020
2 parents e5786d7 + e2ccfdd commit e3cfd81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ if .IsPage }} {{ .Title }} | {{ end }}{{ .Site.Title }}</title>
<link rel = 'canonical' href = '{{ .Permalink }}'>
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
Expand Down

0 comments on commit e3cfd81

Please sign in to comment.