Fix whitespace in title tag.
This commit is contained in:
parent
922e29d0eb
commit
7f08a90e08
2 changed files with 9 additions and 5 deletions
|
|
@ -20,6 +20,8 @@ plugins:
|
|||
- jekyll-sitemap
|
||||
|
||||
# Custom vars
|
||||
title: Bootstrap
|
||||
description: "The world's most popular mobile-first and responsive front-end framework."
|
||||
current_version: 3.4.1
|
||||
docs_version: 3.4
|
||||
repo: https://github.com/twbs/bootstrap
|
||||
|
|
|
|||
|
|
@ -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 }} · 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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue