From 2b1db79d7bbb43aa9e39486c8cb262d84017ca2f Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 20 Nov 2018 22:20:39 +0200 Subject: [PATCH 1/2] docs: fix path to assets. --- site/_includes/scripts.html | 2 +- site/_layouts/examples.html | 2 +- site/docs/4.1/utilities/image-replacement.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/site/_includes/scripts.html b/site/_includes/scripts.html index 3c2e7fbbc7ad..79b400bbe23e 100644 --- a/site/_includes/scripts.html +++ b/site/_includes/scripts.html @@ -1,5 +1,5 @@ - + {%- if jekyll.environment == "production" -%} diff --git a/site/_layouts/examples.html b/site/_layouts/examples.html index bbf9e69ff530..28aa0736c5fc 100644 --- a/site/_layouts/examples.html +++ b/site/_layouts/examples.html @@ -33,7 +33,7 @@ {%- if page.include_js != false -%} - + {%- if jekyll.environment == "production" -%} diff --git a/site/docs/4.1/utilities/image-replacement.md b/site/docs/4.1/utilities/image-replacement.md index 0d5a4d30ca75..74b02b31dd44 100644 --- a/site/docs/4.1/utilities/image-replacement.md +++ b/site/docs/4.1/utilities/image-replacement.md @@ -28,6 +28,6 @@ Utilize the `.text-hide` class or mixin to help replace an element's text conten Use the `.text-hide` class to maintain the accessibility and SEO benefits of heading tags, but want to utilize a `background-image` instead of text. {% capture example %} -

Bootstrap

+

Bootstrap

{% endcapture %} {% include example.html content=example %} From a0dabf687439e4cf1ce44c4ed7ffb20490c16be1 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 20 Nov 2018 22:27:26 +0200 Subject: [PATCH 2/2] Update image-replacement.md --- site/docs/4.1/utilities/image-replacement.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/site/docs/4.1/utilities/image-replacement.md b/site/docs/4.1/utilities/image-replacement.md index 74b02b31dd44..ab092d67f749 100644 --- a/site/docs/4.1/utilities/image-replacement.md +++ b/site/docs/4.1/utilities/image-replacement.md @@ -8,6 +8,7 @@ toc: true {% capture callout %} ##### Warning + The `text-hide()` class and mixin has been deprecated as of v4.1. It will be removed entirely in v5. {% endcapture %} {% include callout.html content=callout type="warning" %} @@ -27,7 +28,10 @@ Utilize the `.text-hide` class or mixin to help replace an element's text conten Use the `.text-hide` class to maintain the accessibility and SEO benefits of heading tags, but want to utilize a `background-image` instead of text. -{% capture example %} -

Bootstrap

-{% endcapture %} -{% include example.html content=example %} +
+

Bootstrap

+
+ +{% highlight html %} +

Bootstrap

+{% endhighlight %}