post hero link

This commit is contained in:
2020-08-14 20:42:36 +00:00
parent 4f88a1f1a3
commit 4aad5bbaec

View File

@@ -1,6 +1,8 @@
<a href="{% url 'posts.show' post.slug %}">
<div class="news-hero padding-bottom-1" style="background-image:url('{{post.imageurl}}')">
<div class="news-hero-text">
<h1>{{post.title}}</h1>
<h2>{{post.subtitle}}</h2>{{post}}
</div>
</div>
</a>