Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-01-21 15:59:51 +0300
committerGitHub <noreply@github.com>2019-01-21 15:59:51 +0300
commitf7e8445f72875a49a909dc0af8e4cf43f19f535e (patch)
tree539b7e6024550fe148e792e4db556fc21fd584aa /site
parentcf25028640a4a145776a371f56c5463a76551b26 (diff)
Add canonical URL. (#28093)
Diffstat (limited to 'site')
-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 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>