diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-01-21 15:59:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-21 15:59:51 +0300 |
commit | f7e8445f72875a49a909dc0af8e4cf43f19f535e (patch) | |
tree | 539b7e6024550fe148e792e4db556fc21fd584aa /site | |
parent | cf25028640a4a145776a371f56c5463a76551b26 (diff) |
Add canonical URL. (#28093)
Diffstat (limited to 'site')
-rw-r--r-- | site/_includes/header.html | 2 | ||||
-rw-r--r-- | site/_layouts/examples.html | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/site/_includes/header.html b/site/_includes/header.html index 6e91a1f429..8fa50f3954 100644 --- a/site/_includes/header.html +++ b/site/_includes/header.html @@ -15,6 +15,8 @@ {%- endif -%} </title> +<link rel="canonical" href="{{ site.url | append: page.url }}"> + {% include stylesheet.html %} {% include favicons.html %} {% include social.html %} diff --git a/site/_layouts/examples.html b/site/_layouts/examples.html index 28aa0736c5..c37dd923d1 100644 --- a/site/_layouts/examples.html +++ b/site/_layouts/examples.html @@ -8,6 +8,8 @@ <meta name="generator" content="Jekyll v{{ jekyll.version }}"> <title>{{ page.title | smartify }} ยท {{ site.title | smartify }}</title> + <link rel="canonical" href="{{ site.url | append: page.url }}"> + {% include stylesheet.html %} <style> |