diff options
author | Davide Asnaghi <30296575+d-asnaghi@users.noreply.github.com> | 2021-04-29 22:27:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 22:27:50 +0300 |
commit | eefb2b7f1de322eb433c86fb386ac30ffb26cdfa (patch) | |
tree | 2080aaa7bce066102b2973d6d53c1b772faa47f7 | |
parent | e06406949561f74525774ac579737ed6ae4374fb (diff) | |
parent | 30d9eb1bdbac4486b255f12b77794b2d130ca732 (diff) |
Merge pull request #17 from thewebmastercom/patch-1
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> |