From b1a087232328611f7394b890e89debbf163a9427 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 24 Nov 2017 15:23:10 +0200 Subject: [PATCH] Use Jekyll's smartify filter when possible. --- _includes/header.html | 6 +++--- _includes/social.html | 8 ++++---- _layouts/docs.html | 4 ++-- _layouts/simple.html | 4 ++-- docs/4.0/content/tables.md | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/_includes/header.html b/_includes/header.html index c2c9deca0c8b..f2f1deff863d 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,14 +1,14 @@ - + {%- if page.title -%} - {{ page.title }} · {{ site.title }} + {{ page.title | smartify }} · {{ site.title | smartify }} {%- else -%} - {{ site.title }} · {{ site.description }} + {{ site.title | smartify }} · {{ site.description | smartify }} {%- endif -%} diff --git a/_includes/social.html b/_includes/social.html index 68be4d6e9edb..277ee2313d37 100644 --- a/_includes/social.html +++ b/_includes/social.html @@ -2,14 +2,14 @@ - - + + - - + + diff --git a/_layouts/docs.html b/_layouts/docs.html index a9e2ce5a4d21..f876055d72d2 100644 --- a/_layouts/docs.html +++ b/_layouts/docs.html @@ -25,8 +25,8 @@ {% endif %}
-

{{ page.title }}

-

{{ page.description }}

+

{{ page.title | smartify }}

+

{{ page.description | smartify }}

{% include ads.html %} {{ content }}
diff --git a/_layouts/simple.html b/_layouts/simple.html index 8e7fc5e30b0b..dfd9afd167b9 100644 --- a/_layouts/simple.html +++ b/_layouts/simple.html @@ -4,8 +4,8 @@
-

{{ page.title }}

-

{{ page.description }}

+

{{ page.title | smartify }}

+

{{ page.description | smartify }}

{% include ads.html %} {{ content }}
diff --git a/docs/4.0/content/tables.md b/docs/4.0/content/tables.md index 0aefc9ad1fff..865c2b6986eb 100644 --- a/docs/4.0/content/tables.md +++ b/docs/4.0/content/tables.md @@ -586,7 +586,7 @@ Create responsive tables by adding `.table-responsive{-sm|-md|-lg|-xl}` to any ` ## Captions -A `` functions like a heading for a table. It helps users with screen readers to find a table and understand what it’s about and decide if they want to read it. +A `` functions like a heading for a table. It helps users with screen readers to find a table and understand what it's about and decide if they want to read it. {% example html %}