Forráskód Böngészése

Merge pull request #129 from wagtail/128-homepage-stretching

Remove homepage image stretching
Scot Hacker 8 éve
szülő
commit
73532a5b98
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      bakerydemo/templates/base/home_page.html

+ 2 - 2
bakerydemo/templates/base/home_page.html

@@ -80,7 +80,7 @@
                         <li class="col-sm-4 feature-2-item">
                             <a href="{{childpage.url}}">
                                 <figure>
-                                    {% image childpage.image height-210 %}
+                                    {% image childpage.image fill-430x210-c100 %}
                                 </figure>
                             </a>
                             <div class="feature-2-text">
@@ -105,7 +105,7 @@
                         <li class="col-md-4">
                             <a href="{{childpage.url}}">
                                 <figure>
-                                    {% image childpage.image width-380 %}
+                                    {% image childpage.image fill-430x254-c100 %}
                                 </figure>
                                 <h3>{{childpage.title}}</h3>
                             </a>