diff --git a/_includes/header.html b/_includes/header.html index c2c9deca0c8b311c0e4db06ef28953110c9f1892..f2f1deff863d9e60d74c895e4bbd9418dd6bf591 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,14 +1,14 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> -<meta name="description" content="{{ page.description | default: site.description }}"> +<meta name="description" content="{{ page.description | default: site.description | smartify }}"> <meta name="author" content="{{ site.authors }}"> <meta name="generator" content="Jekyll v{{ jekyll.version }}"> <title> {%- 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 -%} </title> diff --git a/_includes/social.html b/_includes/social.html index 68be4d6e9edb27ea452ffe72a287a28f0258cd7e..277ee2313d3701c635a86c4033878d3be6b35487 100644 --- a/_includes/social.html +++ b/_includes/social.html @@ -2,14 +2,14 @@ <meta name="twitter:card" content="{% if page.title %}summary{% else %}summary_large_image{% endif %}"> <meta name="twitter:site" content="@{{ site.twitter }}"> <meta name="twitter:creator" content="@{{ site.twitter }}"> -<meta name="twitter:title" content="{{ page.title | default: site.title }}"> -<meta name="twitter:description" content="{{ page.description | default: site.description }}"> +<meta name="twitter:title" content="{{ page.title | default: site.title | smartify }}"> +<meta name="twitter:description" content="{{ page.description | default: site.description | smartify }}"> <meta name="twitter:image" content="{% if page.title %}{{ site.url | append: site.social_logo_path }}{% else %}{{ site.url | append: site.social_image_path }}{% endif %}"> <!-- Facebook --> <meta property="og:url" content="{{ site.url | append: page.url }}"> -<meta property="og:title" content="{{ page.title | default: site.title }}"> -<meta property="og:description" content="{{ page.description | default: site.description }}"> +<meta property="og:title" content="{{ page.title | default: site.title | smartify }}"> +<meta property="og:description" content="{{ page.description | default: site.description | smartify }}"> <meta property="og:type" content="website"> <meta property="og:image" content="{{ site.url | replace: 'https://', 'http://' | append: site.social_image_path }}"> <meta property="og:image:secure_url" content="{{ site.url | append: site.social_image_path }}"> diff --git a/_layouts/docs.html b/_layouts/docs.html index a9e2ce5a4d21519801e3b6e7343ec92e4b22cde8..f876055d72d2ee8353278c750268e78a90eb0b78 100644 --- a/_layouts/docs.html +++ b/_layouts/docs.html @@ -25,8 +25,8 @@ {% endif %} <main class="col-12 col-md-9 col-xl-8 py-md-3 pl-md-5 bd-content" role="main"> - <h1 class="bd-title" id="content">{{ page.title }}</h1> - <p class="bd-lead">{{ page.description }}</p> + <h1 class="bd-title" id="content">{{ page.title | smartify }}</h1> + <p class="bd-lead">{{ page.description | smartify }}</p> {% include ads.html %} {{ content }} </main> diff --git a/_layouts/simple.html b/_layouts/simple.html index 8e7fc5e30b0b3c47d2fcf2112fe1ee33a39b7187..dfd9afd167b9e2383e37875e0b25fe56bcb91bb2 100644 --- a/_layouts/simple.html +++ b/_layouts/simple.html @@ -4,8 +4,8 @@ layout: default <div class="container my-5"> <main class="bd-content" role="main"> - <h1 class="bd-title" id="content">{{ page.title }}</h1> - <p class="bd-lead">{{ page.description }}</p> + <h1 class="bd-title" id="content">{{ page.title | smartify }}</h1> + <p class="bd-lead">{{ page.description | smartify }}</p> {% include ads.html %} {{ content }} </main> diff --git a/docs/4.0/content/tables.md b/docs/4.0/content/tables.md index 0aefc9ad1fff4043926fe31ef7857c0caf25490e..865c2b6986eb366c4c271014bff82ea72109a93a 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 `<caption>` 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 `<caption>` 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 %} <table class="table">