diff options
author | Jeffrey Tse <jeffreytse.mail@gmail.com> | 2023-08-03 22:21:51 +0800 |
---|---|---|
committer | Jeffrey Tse <jeffreytse.mail@gmail.com> | 2023-08-03 22:21:51 +0800 |
commit | f75cca29781611428a8e8a8e2ac9b170365120be (patch) | |
tree | 9e2e574a627bfb1fe16645f3cc75f435e57270b0 /_includes | |
parent | a49acb6fc0c8aa2af42a63e1870f64a244633341 (diff) |
fix: document does not have a valid `rel=canonical`
Refs: https://developer.chrome.com/en/docs/lighthouse/seo/canonical/
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/head.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/_includes/head.html b/_includes/head.html index 258036e..816a803 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -5,6 +5,7 @@ <meta name="google-translate-customization" content="108d9124921d80c3-80e20d618ff053c8-g4f02ec6f3dba68b7-c"> {%- seo -%} <link rel="icon" href="{{ site.favicon }}"> + <link rel="canonical" href="{{ site.url }}"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-noto-sans@0.0.72/index.min.css"> <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}"> |