]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Use the responsive themes image.
authorXhmikosR <xhmikosr@gmail.com>
Sat, 13 Jul 2019 11:27:37 +0000 (14:27 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 17 Jul 2019 13:21:47 +0000 (16:21 +0300)
site/layouts/partials/home/masthead-followup.html

index 0294fc067a9a2bf8fe785a13b53eefda4bbae8f1..4bbdc6a3c2ae8ee65f06af7283c4f84c745fe091 100644 (file)
@@ -44,7 +44,9 @@
   </p>
   <a class="btn btn-lg btn-outline-primary mb-4" href="{{ .Site.Params.themes }}/">Browse themes</a>
   <div class="mx-5 border-bottom">
-    <img class="img-fluid mt-3 mx-auto" src="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes@2x.png" alt="Bootstrap Themes" width="600">
+    <img class="img-fluid mt-3 mx-auto" srcset="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes.png,
+                                                /docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes@2x.png 2x"
+                                        src="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes.png" alt="Bootstrap Themes" width="500" height="200">
   </div>
 </div>