From: XhmikosR Date: Thu, 28 Feb 2019 14:12:53 +0000 (+0200) Subject: Fix whitespace in `title` tag. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f08a90e086168607acc0a65bcb79467c3853390;p=thirdparty%2Fbootstrap.git Fix whitespace in `title` tag. --- 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 %}