aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-01-21 14:59:51 +0200
committerGitHub <[email protected]>2019-01-21 14:59:51 +0200
commitf7e8445f72875a49a909dc0af8e4cf43f19f535e (patch)
tree539b7e6024550fe148e792e4db556fc21fd584aa
parentcf25028640a4a145776a371f56c5463a76551b26 (diff)
downloadbootstrap-f7e8445f72875a49a909dc0af8e4cf43f19f535e.tar.xz
bootstrap-f7e8445f72875a49a909dc0af8e4cf43f19f535e.zip
Add canonical URL. (#28093)
-rw-r--r--site/_includes/header.html2
-rw-r--r--site/_layouts/examples.html2
2 files changed, 4 insertions, 0 deletions
diff --git a/site/_includes/header.html b/site/_includes/header.html
index 6e91a1f42..8fa50f395 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 28aa0736c..c37dd923d 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>