aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/header.html
diff options
context:
space:
mode:
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">