aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/header.html
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-02-28 16:12:53 +0200
committerXhmikosR <[email protected]>2019-03-27 21:02:22 +0200
commit7f08a90e086168607acc0a65bcb79467c3853390 (patch)
treea120e821a4e4786fc7358ca86f83c23bf3a65bf6 /docs/_includes/header.html
parent922e29d0eb5875363b3241c12a71b00946ff0bc8 (diff)
downloadbootstrap-7f08a90e086168607acc0a65bcb79467c3853390.tar.xz
bootstrap-7f08a90e086168607acc0a65bcb79467c3853390.zip
Fix whitespace in `title` tag.
Diffstat (limited to 'docs/_includes/header.html')
-rw-r--r--docs/_includes/header.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/_includes/header.html b/docs/_includes/header.html
index 8b0e175d1..6afac5292 100644
--- a/docs/_includes/header.html
+++ b/docs/_includes/header.html
@@ -5,13 +5,15 @@
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<title>
- {% if page.layout == "home" %}
- {{ page.title }}
- {% else %}
- {{ page.title }} &middot; Bootstrap
- {% endif %}
+ {%- if page.title -%}
+ {{ page.title | smartify }} · {{ site.title | smartify }}
+ {%- else -%}
+ {{ site.title | smartify }} · {{ site.description | smartify }}
+ {%- endif -%}
</title>
+<link rel="canonical" href="{{ site.url | append: site.baseurl | append: page.url }}">
+
<!-- Bootstrap core CSS -->
{% if site.github %}
<link href="{{ site.baseurl }}/dist/css/bootstrap.min.css" rel="stylesheet">