]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add canonical URL. (#28093)
authorXhmikosR <xhmikosr@gmail.com>
Mon, 21 Jan 2019 12:59:51 +0000 (14:59 +0200)
committerGitHub <noreply@github.com>
Mon, 21 Jan 2019 12:59:51 +0000 (14:59 +0200)
site/_includes/header.html
site/_layouts/examples.html

index 6e91a1f4290940b84069ed9de283e4bad30a45d5..8fa50f39544f72a3c5c6eef25881f1b355099d64 100644 (file)
@@ -15,6 +15,8 @@
   {%- endif -%}
 </title>
 
+<link rel="canonical" href="{{ site.url | append: page.url }}">
+
 {% include stylesheet.html %}
 {% include favicons.html %}
 {% include social.html %}
index 28aa0736c5fca5c1557c0dcade60d407fed02711..c37dd923d1e2352009ddc87fbec9c4de1de0d7ff 100644 (file)
@@ -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>