diff options
author | Jonathan Griffin <jonathan@thewebmaster.com> | 2021-04-15 23:47:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-15 23:47:36 +0300 |
commit | 30d9eb1bdbac4486b255f12b77794b2d130ca732 (patch) | |
tree | 2080aaa7bce066102b2973d6d53c1b772faa47f7 | |
parent | e06406949561f74525774ac579737ed6ae4374fb (diff) |
Add Canonical to Header
-rw-r--r-- | layouts/partials/header.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 938bb10..907d4ce 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -5,10 +5,11 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <link rel="stylesheet" href="{{ "assets/css/main.css" | absURL }}"/> + <link rel="canonical" href="{{ .Permalink }}"> <noscript><link rel="stylesheet" href="{{ "assets/css/noscript.css" | absURL }}"/></noscript> <style> :root{--site-background : url("{{ .Params.background | default "images/bg.jpg" | absURL }}")}; </style> <!-- Include the script that enables Netlify Identity on this page. --> <script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script> -</head>
\ No newline at end of file +</head> |