From 7f08a90e086168607acc0a65bcb79467c3853390 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 28 Feb 2019 16:12:53 +0200 Subject: [PATCH] Fix whitespace in `title` tag. --- _config.yml | 2 ++ docs/_includes/header.html | 12 +++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/_config.yml b/_config.yml index fafb966030..5f8a891651 100644 --- a/_config.yml +++ b/_config.yml @@ -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 diff --git a/docs/_includes/header.html b/docs/_includes/header.html index 8b0e175d13..6afac5292c 100644 --- a/docs/_includes/header.html +++ b/docs/_includes/header.html @@ -5,13 +5,15 @@ - {% 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 -%} + + {% if site.github %} -- 2.47.3