fix: blog pictures now smaller
This commit is contained in:
parent
d6a8b9328d
commit
9348521308
1 changed files with 15 additions and 11 deletions
|
@ -1,16 +1,20 @@
|
||||||
<div class="card">
|
<div class="card">
|
||||||
{% set image = page.media.images|first %}
|
{% set image = page.media.images|first %}
|
||||||
{% if image %}
|
<div class="card-header mx-0 container-fluid">
|
||||||
<div class="card-image">
|
<div class="row">
|
||||||
<a href="{{ page.url }}" class="w-100">{{ image.cropZoom(800,400).html|raw }}</a>
|
<div class="col-12 col-sm-9 mb-2">
|
||||||
</div>
|
<div class="card-title">
|
||||||
{% endif %}
|
{% include 'partials/blog/title.html.twig' with {title_level: 'h5'} %}
|
||||||
<div class="card-header mx-0">
|
</div>
|
||||||
<div>
|
<div class="card-subtitle">
|
||||||
{% include 'partials/blog/title.html.twig' with {title_level: 'h5'} %}
|
<small>{% include 'partials/blog/date.html.twig' %}</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-gray ">
|
</div>
|
||||||
<small>{% include 'partials/blog/date.html.twig' %}</small>
|
{% if image %}
|
||||||
|
<div class="col-12 col-sm-3">
|
||||||
|
<img src="{{ image.url }}" class="w-100" />
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
|
Loading…
Reference in a new issue