Add link to listing image

This commit is contained in:
Jake Howard 2022-06-19 17:28:48 +01:00
parent ac825524d9
commit 9769d067bb
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@
align-items: center; align-items: center;
} }
p.image { a.image {
width: 100%; width: 100%;
} }

View file

@ -3,9 +3,9 @@
<article class="media listing-item"> <article class="media listing-item">
<div class="columns"> <div class="columns">
<figure class="media-left column is-3 image-column"> <figure class="media-left column is-3 image-column">
<p class="image"> <a href="{% pageurl page %}" class="image">
<img src="{% image_url page.hero_image 'width-300' %}"> <img src="{% image_url page.hero_image 'width-300' %}">
</p> </a>
</figure> </figure>
<div class="media-content column"> <div class="media-content column">
<div> <div>