From 262a24b627f9dfa61e2764f149ee545d52aa02d0 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 18 Jul 2019 12:29:12 +0300 Subject: [PATCH] Manually escape script. --- site/content/docs/4.3/examples/masonry/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/site/content/docs/4.3/examples/masonry/index.html b/site/content/docs/4.3/examples/masonry/index.html index fbfa4c8f76..d2d12f7391 100644 --- a/site/content/docs/4.3/examples/masonry/index.html +++ b/site/content/docs/4.3/examples/masonry/index.html @@ -13,7 +13,9 @@ extra_js:

Masonry is not included in Bootstrap. Add it by including the JavaScript plugin manually, or using a CDN like so:

- {{< highlight html >}}{{< /highlight >}} +

+<script src="https://cdnjs.cloudflare.com/ajax/libs/masonry/4.2.2/masonry.pkgd.min.js" integrity="sha256-Nn1q/fx0H7SNLZMQ5Hw5JLaTRZp0yILA/FRexe19VdI=" crossorigin="anonymous" async></script>
+  

By adding data-masonry='{"percentPosition": true }' to the .row wrapper, we can combine the powers of Bootstrap's responsive grid and Masonry's positioning.