kopia lustrzana https://github.com/wagtail/bakerydemo
Use cropped fill rather than relative width for homepage images. Closes #128
rodzic
9cd39c3d83
commit
863a419981
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue